1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-23 07:26:54 +00:00
nixpkgs/pkgs/development/python-modules/portend/default.nix

29 lines
637 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi
2018-06-22 12:05:26 +01:00
, pytest, setuptools_scm, tempora, pytest-flake8 }:
buildPythonPackage rec {
pname = "portend";
2018-06-12 17:47:04 +01:00
version = "2.3";
src = fetchPypi {
inherit pname version;
2018-06-12 17:47:04 +01:00
sha256 = "b7ce7d35ea262415297cbfea86226513e77b9ee5f631d3baa11992d663963719";
};
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ tempora ];
2018-06-22 12:05:26 +01:00
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;
};
}