mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
python.pkgs.portend: actually run tests
This commit is contained in:
parent
1bba16fe19
commit
2446ff2aac
1 changed files with 11 additions and 6 deletions
|
@ -1,20 +1,25 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, pytest, pytest-sugar, pytest-warnings, setuptools_scm
|
||||
, tempora }:
|
||||
, pytest, setuptools_scm, tempora }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "portend";
|
||||
version = "2.2";
|
||||
|
||||
buildInputs = [ pytest pytest-sugar pytest-warnings setuptools_scm ];
|
||||
propagatedBuildInputs = [ tempora ];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "bc48d3d99e1eaf2e9406c729f8848bfdaf87876cd3560dc3ec6c16714f529586";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools_scm ];
|
||||
|
||||
propagatedBuildInputs = [ tempora ];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Monitor TCP ports for bound or unbound states";
|
||||
homepage = https://github.com/jaraco/portend;
|
||||
|
|
Loading…
Reference in a new issue