1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-12 15:47:28 +00:00
nixpkgs/pkgs/development/python-modules/portend/default.nix
2018-04-20 13:00:23 +02:00

29 lines
608 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, pytest, setuptools_scm, tempora }:
buildPythonPackage rec {
pname = "portend";
version = "2.2";
src = fetchPypi {
inherit pname version;
sha256 = "bc48d3d99e1eaf2e9406c729f8848bfdaf87876cd3560dc3ec6c16714f529586";
};
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ tempora ];
checkInputs = [ pytest ];
checkPhase = ''
py.test
'';
meta = with stdenv.lib; {
description = "Monitor TCP ports for bound or unbound states";
homepage = https://github.com/jaraco/portend;
license = licenses.bsd3;
};
}