aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/pytest-ordering
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2019-10-05 12:43:18 +0000
committerKatharina Fey <kookie@spacekookie.de>2019-10-05 12:44:52 +0000
commitcf85056ba64caf3267d43255ef4a1243e9c8ee3b (patch)
tree3051519e9c8275b870aac43f80af875715c9d124 /nixpkgs/pkgs/development/python-modules/pytest-ordering
parent1148b1d122bc03e9a3665856c9b7bb96bd4e3994 (diff)
parent2436c27541b2f52deea3a4c1691216a02152e729 (diff)
Add 'nixpkgs/' from commit '2436c27541b2f52deea3a4c1691216a02152e729'
git-subtree-dir: nixpkgs git-subtree-mainline: 1148b1d122bc03e9a3665856c9b7bb96bd4e3994 git-subtree-split: 2436c27541b2f52deea3a4c1691216a02152e729
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pytest-ordering')
-rw-r--r--nixpkgs/pkgs/development/python-modules/pytest-ordering/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pytest-ordering/default.nix b/nixpkgs/pkgs/development/python-modules/pytest-ordering/default.nix
new file mode 100644
index 00000000000..ec340806964
--- /dev/null
+++ b/nixpkgs/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 ];
+ };
+}