blob: 39b75205d860197ad6aff99a2ff11c29fab1c7f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
psutil,
}:
buildPythonPackage rec {
pname = "portpicker";
version = "1.6.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-vVB/1vlvZe4CeB8uZ06dxsmbv6bjw5mS45FiBMnUMfo=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ psutil ];
pythonImportsCheck = [ "portpicker" ];
meta = {
description = "Library to choose unique available network ports";
mainProgram = "portserver.py";
homepage = "https://github.com/google/python_portpicker";
license = lib.licenses.asl20;
maintainers = [ ];
};
}
|