1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-27 11:36:29 +03:00
nixpkgs/pkgs/development/python-modules/portpicker/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
646 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
2017-11-14 14:30:47 -05:00
, fetchPypi
, psutil
, pythonOlder
2017-11-14 14:30:47 -05:00
}:
buildPythonPackage rec {
pname = "portpicker";
version = "1.5.0";
2021-06-18 16:38:32 -07:00
format = "pyproject";
2017-11-14 14:30:47 -05:00
disabled = pythonOlder "3.7";
2017-11-14 14:30:47 -05:00
src = fetchPypi {
inherit pname version;
hash = "sha256-4TsUgAit6yeTz4tVvNIP3OxPdj8tO/PEX15eXR330ig=";
2017-11-14 14:30:47 -05:00
};
propagatedBuildInputs = [
psutil
];
pythonImportsCheck = [
"portpicker"
];
meta = with lib; {
description = "Library to choose unique available network ports";
2017-11-14 14:30:47 -05:00
homepage = "https://github.com/google/python_portpicker";
license = licenses.asl20;
maintainers = with maintainers; [ danharaj ];
2017-11-14 14:30:47 -05:00
};
}