pythonPackages.pytest-ordering: init at 0.6
This commit is contained in:
parent
beb547a1c6
commit
15eb9f95ab
|
@ -0,0 +1,31 @@
|
||||||
|
{ lib, fetchFromGitHub, buildPythonPackage
|
||||||
|
, pytest }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pytest-ordering";
|
||||||
|
version = "unstable-2019-06-19";
|
||||||
|
|
||||||
|
# Pypi lacks tests/
|
||||||
|
# Resolves PytestUnknownMarkWarning from pytest
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ftobia";
|
||||||
|
repo = pname;
|
||||||
|
rev = "492697ee26633cc31d329c1ceaa468375ee8ee9c";
|
||||||
|
sha256 = "1xim0kj5g37p1skgvp8gdylpx949krmx60w3pw6j1m1h7sakmddn";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest
|
||||||
|
];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
pytest tests
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = https://github.com/ftobia/pytest-ordering;
|
||||||
|
description = "Pytest plugin to run your tests in a specific order";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ eadwu ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1012,6 +1012,8 @@ in {
|
||||||
|
|
||||||
pytest-mypy = callPackage ../development/python-modules/pytest-mypy { };
|
pytest-mypy = callPackage ../development/python-modules/pytest-mypy { };
|
||||||
|
|
||||||
|
pytest-ordering = callPackage ../development/python-modules/pytest-ordering { };
|
||||||
|
|
||||||
pytest-pylint = callPackage ../development/python-modules/pytest-pylint { };
|
pytest-pylint = callPackage ../development/python-modules/pytest-pylint { };
|
||||||
|
|
||||||
pytest-testmon = callPackage ../development/python-modules/pytest-testmon { };
|
pytest-testmon = callPackage ../development/python-modules/pytest-testmon { };
|
||||||
|
|
Loading…
Reference in New Issue