pythonPackages.pytest-repeat: refactor fix broken build
This commit is contained in:
committed by
Marcus Boyd
parent
a815aafdc7
commit
248fe74a8a
@@ -8,33 +8,29 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pytest-repeat";
|
pname = "pytest-repeat";
|
||||||
version = "0.7.0";
|
version = "0.8.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0axbrpqal3cqw9zq6dakdbg49pnf5gvyvq6yn93hp1ayc7fnhzk3";
|
sha256 = "1nbdmklpi0ra1jnfm032wz96y9nxdlcr4m9sjlnffwm7n4x43g2j";
|
||||||
};
|
};
|
||||||
|
|
||||||
# fixes support for pytest >3.6. Should be droppable during the
|
nativeBuildInputs = [
|
||||||
# next bump.
|
setuptools_scm
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
url = https://github.com/pytest-dev/pytest-repeat/commit/f94b6940e3651b7593aca5a7a987eb56abe04cb1.patch;
|
|
||||||
sha256 = "00da1gmpq9pslcmm8pw93jcbp8j2zymzqdsm6jq3xinkvjpsbmny";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ setuptools_scm ];
|
checkInputs = [
|
||||||
checkInputs = [ pytest ];
|
pytest
|
||||||
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test
|
pytest
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "Pytest plugin for repeating tests";
|
description = "Pytest plugin for repeating tests";
|
||||||
homepage = https://github.com/pytest-dev/pytest-repeat;
|
homepage = "https://github.com/pytest-dev/pytest-repeat";
|
||||||
maintainers = with lib.maintainers; [ costrouc ];
|
license = licenses.mpl20;
|
||||||
license = lib.licenses.mpl20;
|
maintainers = with maintainers; [ costrouc ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user