mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
28 lines
678 B
Nix
28 lines
678 B
Nix
{ lib, buildPythonPackage, fetchPypi
|
|
, pytestCheckHook, setuptools-scm, tempora }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "portend";
|
|
version = "3.1.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "239e3116045ea823f6df87d6168107ad75ccc0590e37242af0cc1e98c5d224e4";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
|
|
|
propagatedBuildInputs = [ tempora ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
# 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;
|
|
};
|
|
}
|