diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2017-04-26 19:02:17 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2017-04-26 19:49:47 +0200 |
commit | 47403cf3866c1bb5498b7fe9f1758f379d9d58ab (patch) | |
tree | c6de4c5cff4ff3e0d0db5e8e2110c4edca2a224e /pkgs/development/python-modules/pytest-httpbin | |
parent | aea92575816296a3a83ba1335b510c06f4a48f51 (diff) | |
download | nixlib-47403cf3866c1bb5498b7fe9f1758f379d9d58ab.tar nixlib-47403cf3866c1bb5498b7fe9f1758f379d9d58ab.tar.gz nixlib-47403cf3866c1bb5498b7fe9f1758f379d9d58ab.tar.bz2 nixlib-47403cf3866c1bb5498b7fe9f1758f379d9d58ab.tar.lz nixlib-47403cf3866c1bb5498b7fe9f1758f379d9d58ab.tar.xz nixlib-47403cf3866c1bb5498b7fe9f1758f379d9d58ab.tar.zst nixlib-47403cf3866c1bb5498b7fe9f1758f379d9d58ab.zip |
pytest-httpbin: init at 0.2.3
Diffstat (limited to 'pkgs/development/python-modules/pytest-httpbin')
-rw-r--r-- | pkgs/development/python-modules/pytest-httpbin/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-httpbin/default.nix b/pkgs/development/python-modules/pytest-httpbin/default.nix new file mode 100644 index 000000000000..8818fd04fa17 --- /dev/null +++ b/pkgs/development/python-modules/pytest-httpbin/default.nix @@ -0,0 +1,30 @@ +{ buildPythonPackage +, lib +, fetchurl +, pythonPackages +}: + +let + pname = "pytest-httpbin"; + version = "0.2.3"; +in buildPythonPackage rec { + name = "${pname}-${version}"; + + src = fetchurl { + url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz"; + sha256 = "1y0v2v7xpzpyd4djwp7ad8ifnlxp8r1y6dfbxg5ckzvllkgridn5"; + }; + + buildInputs = with pythonPackages; [ pytest httpbin ]; + propagatedBuildInputs = []; + + # Tests in neither the archive nor the repo + doCheck = false; + + meta = { + description = "py.test plugin to store test expectations and mark tests based on them"; + homepage = https://github.com/gsnedders/pytest-expect; + license = lib.licenses.mit; + }; +} + |