Skip to content

Commit

Permalink
pythonPackages.pytest-repeat: init at 0.6.0
Browse files Browse the repository at this point in the history
 - compatible with 2.7, 3+
 - all tests pass and running
  • Loading branch information
costrouc committed Sep 6, 2018
1 parent 05890dd commit 7b92017
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pkgs/development/python-modules/pytest-repeat/default.nix
@@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools_scm
, pytest
}:

buildPythonPackage rec {
pname = "pytest-repeat";
version = "0.6.0";

src = fetchPypi {
inherit pname version;
sha256 = "84aba2fcca5dc2f32ae626a01708f469f17b3384ec3d1f507698077f274909d6";
};

buildInputs = [ setuptools_scm pytest ];

checkPhase = ''
py.test
'';

meta = {
description = "Pytest plugin for repeating tests";
homepage = https://github.com/pytest-dev/pytest-repeat;
maintainers = with lib.maintainers; [ costrouc ];
license = lib.licenses.mpl20;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -1913,6 +1913,8 @@ in {

pytest-raisesregexp = callPackage ../development/python-modules/pytest-raisesregexp { };

pytest-repeat = callPackage ../development/python-modules/pytest-repeat { };

pytestrunner = callPackage ../development/python-modules/pytestrunner { };

pytestquickcheck = callPackage ../development/python-modules/pytest-quickcheck { };
Expand Down

0 comments on commit 7b92017

Please sign in to comment.