python: portend: 2.3 -> 2.5
This commit is contained in:
parent
0585a97c38
commit
5c05071a49
|
@ -1,13 +1,13 @@
|
||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
, pytest, setuptools_scm, tempora }:
|
, pytest, setuptools_scm, tempora, pytest-black }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "portend";
|
pname = "portend";
|
||||||
version = "2.3";
|
version = "2.5";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "b7ce7d35ea262415297cbfea86226513e77b9ee5f631d3baa11992d663963719";
|
sha256 = "19dc27bfb3c72471bd30a235a4d5fbefef8a7e31cab367744b5d87a205e7bfd9";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
propagatedBuildInputs = [ tempora ];
|
propagatedBuildInputs = [ tempora ];
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytest pytest-black ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test --deselect=test_portend.py::TestChecker::test_check_port_listening
|
py.test --deselect=test_portend.py::TestChecker::test_check_port_listening
|
||||||
|
|
Loading…
Reference in a new issue