mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
29 lines
637 B
Nix
29 lines
637 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, pytest, setuptools_scm, tempora, pytest-flake8 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "portend";
|
|
version = "2.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "b7ce7d35ea262415297cbfea86226513e77b9ee5f631d3baa11992d663963719";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
|
|
|
propagatedBuildInputs = [ tempora ];
|
|
|
|
checkInputs = [ pytest pytest-flake8 ];
|
|
|
|
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;
|
|
};
|
|
}
|