diff options
author | Edmund Wu <fangkazuto@gmail.com> | 2019-01-22 10:23:03 -0500 |
---|---|---|
committer | Edmund Wu <fangkazuto@gmail.com> | 2019-08-13 11:25:50 -0400 |
commit | 15eb9f95abdee254bd4710fe336c77a65ad220f2 (patch) | |
tree | 981d5ee29c24e14d0a5be8fa8bf912e844be5185 /pkgs/development/python-modules/pytest-ordering | |
parent | beb547a1c6716820838f5db15903b02eaad963c3 (diff) | |
download | nixlib-15eb9f95abdee254bd4710fe336c77a65ad220f2.tar nixlib-15eb9f95abdee254bd4710fe336c77a65ad220f2.tar.gz nixlib-15eb9f95abdee254bd4710fe336c77a65ad220f2.tar.bz2 nixlib-15eb9f95abdee254bd4710fe336c77a65ad220f2.tar.lz nixlib-15eb9f95abdee254bd4710fe336c77a65ad220f2.tar.xz nixlib-15eb9f95abdee254bd4710fe336c77a65ad220f2.tar.zst nixlib-15eb9f95abdee254bd4710fe336c77a65ad220f2.zip |
pythonPackages.pytest-ordering: init at 0.6
Diffstat (limited to 'pkgs/development/python-modules/pytest-ordering')
-rw-r--r-- | pkgs/development/python-modules/pytest-ordering/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-ordering/default.nix b/pkgs/development/python-modules/pytest-ordering/default.nix new file mode 100644 index 000000000000..ec340806964b --- /dev/null +++ b/pkgs/development/python-modules/pytest-ordering/default.nix @@ -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 ]; + }; +} |