2017-09-05 10:16:41 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, pytest, pytest-sugar, pytest-warnings, setuptools_scm
|
|
|
|
, tempora }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "portend";
|
2017-10-25 19:04:35 +01:00
|
|
|
version = "2.2";
|
2017-09-05 10:16:41 +01:00
|
|
|
|
|
|
|
buildInputs = [ pytest pytest-sugar pytest-warnings setuptools_scm ];
|
|
|
|
propagatedBuildInputs = [ tempora ];
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-10-25 19:04:35 +01:00
|
|
|
sha256 = "bc48d3d99e1eaf2e9406c729f8848bfdaf87876cd3560dc3ec6c16714f529586";
|
2017-09-05 10:16:41 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Monitor TCP ports for bound or unbound states";
|
|
|
|
homepage = https://github.com/jaraco/portend;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|