10 buildPythonPackage rec {
15 disabled = pythonOlder "3.7";
18 inherit pname version;
19 hash = "sha256-vVB/1vlvZe4CeB8uZ06dxsmbv6bjw5mS45FiBMnUMfo=";
22 nativeBuildInputs = [ setuptools ];
24 propagatedBuildInputs = [ psutil ];
26 pythonImportsCheck = [ "portpicker" ];
29 description = "Library to choose unique available network ports";
30 mainProgram = "portserver.py";
31 homepage = "https://github.com/google/python_portpicker";
32 license = licenses.asl20;