nixpkgs/pkgs/development/python-modules/portend/default.nix
Frederik Rietdijk 67651d80bc Merge pull request #28884 from FRidh/python-fixes
Python: several fixes
2017-09-06 13:54:10 +02:00

24 lines
625 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, pytest, pytest-sugar, pytest-warnings, setuptools_scm
, tempora }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "portend";
version = "2.1.2";
buildInputs = [ pytest pytest-sugar pytest-warnings setuptools_scm ];
propagatedBuildInputs = [ tempora ];
src = fetchPypi {
inherit pname version;
sha256 = "0dx8b1rn64ymx5s4mdzlw5hz59qi167z7nny36dl75ghlldn41w4";
};
meta = with stdenv.lib; {
description = "Monitor TCP ports for bound or unbound states";
homepage = https://github.com/jaraco/portend;
license = licenses.bsd3;
};
}