pythonPackages.pytest-repeat: init at 0.6.0

- compatible with 2.7, 3+
 - all tests pass and running
This commit is contained in:
Chris Ostrouchov 2018-08-08 15:32:52 -04:00
parent 05890dda3d
commit 7b920172db
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 31 additions and 0 deletions

View file

@ -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;
};
}

View file

@ -1913,6 +1913,8 @@ in {
pytest-raisesregexp = callPackage ../development/python-modules/pytest-raisesregexp { }; pytest-raisesregexp = callPackage ../development/python-modules/pytest-raisesregexp { };
pytest-repeat = callPackage ../development/python-modules/pytest-repeat { };
pytestrunner = callPackage ../development/python-modules/pytestrunner { }; pytestrunner = callPackage ../development/python-modules/pytestrunner { };
pytestquickcheck = callPackage ../development/python-modules/pytest-quickcheck { }; pytestquickcheck = callPackage ../development/python-modules/pytest-quickcheck { };