10 buildPythonPackage rec {
15 disabled = pythonOlder "3.8";
17 src = fetchFromGitHub {
20 rev = "refs/tags/v${version}";
21 hash = "sha256-/45TQ2crmTupRgL9hgZGw5IvFKywezSIHqHFbeAkMoo=";
24 nativeBuildInputs = [ setuptools ];
26 nativeCheckInputs = [ pytestCheckHook ];
27 pythonImportsCheck = [ "port_for" ];
30 homepage = "https://github.com/kmike/port-for";
31 description = "Command-line utility and library that helps with TCP port managment";
32 mainProgram = "port-for";
33 changelog = "https://github.com/kmike/port-for/blob/v${version}/CHANGES.rst";
34 license = licenses.mit;
35 maintainers = with maintainers; [ bcdarwin ];