depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-ordering/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

31 lines
726 B
Nix

{ 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 ];
};
}