1{ buildPythonPackage 2, lib 3, fetchPypi 4}: 5 6buildPythonPackage rec { 7 pname = "portpicker"; 8 version = "1.2.0"; 9 name = "${pname}-${version}"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "0c1lm3i4yngi1qclb0hny19vwjd2si5k2qni30wcrnxqqasqak1y"; 14 }; 15 16 meta = { 17 description = "A library to choose unique available network ports."; 18 homepage = "https://github.com/google/python_portpicker"; 19 license = lib.licenses.asl20; 20 maintainers = with lib.maintainers; [ danharaj ]; 21 }; 22}