1{ lib, fetchFromGitHub, buildPythonPackage 2, pytest }: 3 4buildPythonPackage rec { 5 pname = "pytest-ordering"; 6 version = "unstable-2019-06-19"; 7 8 # Pypi lacks tests/ 9 # Resolves PytestUnknownMarkWarning from pytest 10 src = fetchFromGitHub { 11 owner = "ftobia"; 12 repo = pname; 13 rev = "492697ee26633cc31d329c1ceaa468375ee8ee9c"; 14 sha256 = "1xim0kj5g37p1skgvp8gdylpx949krmx60w3pw6j1m1h7sakmddn"; 15 }; 16 17 checkInputs = [ 18 pytest 19 ]; 20 21 checkPhase = '' 22 pytest tests 23 ''; 24 25 meta = with lib; { 26 homepage = "https://github.com/ftobia/pytest-ordering"; 27 description = "Pytest plugin to run your tests in a specific order"; 28 license = licenses.mit; 29 broken = true; # See https://github.com/NixOS/nixpkgs/pull/122264 30 maintainers = with maintainers; [ eadwu ]; 31 }; 32}