python310Packages.port-for: init at 0.7.1

This commit is contained in:
Ben Darwin 2023-09-27 15:41:38 -04:00
parent f28d661e49
commit 2f169dab5d
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, setuptools
}:
buildPythonPackage rec {
pname = "port-for";
version = "0.7.1";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "kmike";
repo = "port-for";
rev = "refs/tags/v${version}";
hash = "sha256-/45TQ2crmTupRgL9hgZGw5IvFKywezSIHqHFbeAkMoo=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "port_for" ];
meta = with lib; {
homepage = "https://github.com/kmike/port-for";
description = "Command-line utility and library that helps with TCP port managment";
changelog = "https://github.com/kmike/port-for/blob/v${version}/CHANGES.rst";
license = licenses.mit;
maintainers = with maintainers; [ bcdarwin ];
};
}

View file

@ -8602,6 +8602,8 @@ self: super: with self; {
portend = callPackage ../development/python-modules/portend { };
port-for = callPackage ../development/python-modules/port-for { };
portpicker = callPackage ../development/python-modules/portpicker { };
posix_ipc = callPackage ../development/python-modules/posix_ipc { };