1{ stdenv, buildPythonPackage, fetchPypi
2, pytest, pytest-sugar, pytest-warnings, setuptools_scm
3, tempora }:
4
5buildPythonPackage rec {
6 name = "${pname}-${version}";
7 pname = "portend";
8 version = "2.2";
9
10 buildInputs = [ pytest pytest-sugar pytest-warnings setuptools_scm ];
11 propagatedBuildInputs = [ tempora ];
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "bc48d3d99e1eaf2e9406c729f8848bfdaf87876cd3560dc3ec6c16714f529586";
16 };
17
18 meta = with stdenv.lib; {
19 description = "Monitor TCP ports for bound or unbound states";
20 homepage = https://github.com/jaraco/portend;
21 license = licenses.bsd3;
22 };
23}