python.pkgs.pytest-rerunfailures: improve expression
This commit is contained in:
parent
3a763b9196
commit
80cb0c39de
@ -1,7 +1,6 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, pytest, mock }:
|
{ stdenv, buildPythonPackage, fetchPypi, pytest, mock }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
name = "${pname}-${version}";
|
|
||||||
pname = "pytest-rerunfailures";
|
pname = "pytest-rerunfailures";
|
||||||
version = "4.0";
|
version = "4.0";
|
||||||
|
|
||||||
@ -10,7 +9,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "18lpy6d9b4ck8j3jwh4vmxj54is0fwanpmpg70qg4y0fycdqzwks";
|
sha256 = "18lpy6d9b4ck8j3jwh4vmxj54is0fwanpmpg70qg4y0fycdqzwks";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pytest mock ];
|
checkInputs = [ pytest mock ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test
|
py.test
|
||||||
@ -21,6 +20,5 @@ buildPythonPackage rec {
|
|||||||
homepage = https://github.com/pytest-dev/pytest-rerunfailures;
|
homepage = https://github.com/pytest-dev/pytest-rerunfailures;
|
||||||
license = licenses.mpl20;
|
license = licenses.mpl20;
|
||||||
maintainers = with maintainers; [ jgeerds ];
|
maintainers = with maintainers; [ jgeerds ];
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user