2019-01-22 16:23:03 +01:00
|
|
|
{ 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; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/ftobia/pytest-ordering";
|
2019-01-22 16:23:03 +01:00
|
|
|
description = "Pytest plugin to run your tests in a specific order";
|
|
|
|
license = licenses.mit;
|
2021-05-09 01:04:12 +02:00
|
|
|
broken = true; # See https://github.com/NixOS/nixpkgs/pull/122264
|
2019-01-22 16:23:03 +01:00
|
|
|
maintainers = with maintainers; [ eadwu ];
|
|
|
|
};
|
|
|
|
}
|