stripe-cli: 1.23.3 -> 1.23.5 (#375724)
[NixPkgs.git] / pkgs / development / python-modules / portend / default.nix
blob35bf5d1a8be5d96d2099769c847e4e8aa74e4931
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   pytestCheckHook,
7   setuptools-scm,
8   tempora,
9 }:
11 buildPythonPackage rec {
12   pname = "portend";
13   version = "3.2.0";
14   format = "pyproject";
16   disabled = pythonOlder "3.8";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-UlCjUsGclZ12fKyHi4Kdk+XcdiWlFDOZoqANxmKP+3I=";
21   };
23   nativeBuildInputs = [ setuptools-scm ];
25   propagatedBuildInputs = [ tempora ];
27   nativeCheckInputs = [ pytestCheckHook ];
29   pythonImportsCheck = [ "portend" ];
31   # Some of the tests use localhost networking.
32   __darwinAllowLocalNetworking = true;
34   meta = with lib; {
35     description = "Monitor TCP ports for bound or unbound states";
36     homepage = "https://github.com/jaraco/portend";
37     license = licenses.bsd3;
38   };