python310Packages.port-for: init at 0.7.1
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user