Skip to content

Commit

Permalink
python.pkgs.pytest-rerunfailures: improve expression
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Jan 10, 2018
1 parent 3a763b9 commit 80cb0c3
Showing 1 changed file with 1 addition and 3 deletions.
@@ -1,7 +1,6 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest, mock }:

buildPythonPackage rec {
name = "${pname}-${version}";
pname = "pytest-rerunfailures";
version = "4.0";

Expand All @@ -10,7 +9,7 @@ buildPythonPackage rec {
sha256 = "18lpy6d9b4ck8j3jwh4vmxj54is0fwanpmpg70qg4y0fycdqzwks";
};

buildInputs = [ pytest mock ];
checkInputs = [ pytest mock ];

checkPhase = ''
py.test
Expand All @@ -21,6 +20,5 @@ buildPythonPackage rec {
homepage = https://github.com/pytest-dev/pytest-rerunfailures;
license = licenses.mpl20;
maintainers = with maintainers; [ jgeerds ];
platforms = platforms.all;
};
}

0 comments on commit 80cb0c3

Please sign in to comment.