Files
nixpkgs/pkgs/development/python-modules/portend/default.nix
Martin Weinelt 2488913a23 python3Packages.portend: 3.2.0 -> 3.2.1
This commit was automatically generated using update-python-libraries.
2025-08-09 19:02:21 +02:00

44 lines
842 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
pytestCheckHook,
setuptools-scm,
tempora,
}:
buildPythonPackage rec {
pname = "portend";
version = "3.2.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-qp1Aqx+eFL231AH0IhDfNdAXybl5kbrrGFaM7fuMZIk=";
};
postPatch = ''
sed -i "/coherent\.licensed/d" pyproject.toml;
'';
build-system = [ setuptools-scm ];
dependencies = [ tempora ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "portend" ];
# Some of the tests use localhost networking.
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "Monitor TCP ports for bound or unbound states";
homepage = "https://github.com/jaraco/portend";
license = licenses.bsd3;
};
}