diff options
author | Elis Hirwing <elis@hirwing.se> | 2018-04-03 13:00:53 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-04-04 19:46:00 +0200 |
commit | 1e44e2f095608f3b42ad3313f2dcffd401a4103e (patch) | |
tree | a15c201a33680a9d9625e29893f8ba656f789775 /pkgs/development/python-modules/pytest-subtesthack | |
parent | 17f96f382d9137ad31ebe98f8797a9374d95b9d8 (diff) | |
download | nixlib-1e44e2f095608f3b42ad3313f2dcffd401a4103e.tar nixlib-1e44e2f095608f3b42ad3313f2dcffd401a4103e.tar.gz nixlib-1e44e2f095608f3b42ad3313f2dcffd401a4103e.tar.bz2 nixlib-1e44e2f095608f3b42ad3313f2dcffd401a4103e.tar.lz nixlib-1e44e2f095608f3b42ad3313f2dcffd401a4103e.tar.xz nixlib-1e44e2f095608f3b42ad3313f2dcffd401a4103e.tar.zst nixlib-1e44e2f095608f3b42ad3313f2dcffd401a4103e.zip |
pythonPackages.python-subtesthack: Move to own file
Diffstat (limited to 'pkgs/development/python-modules/pytest-subtesthack')
-rw-r--r-- | pkgs/development/python-modules/pytest-subtesthack/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-subtesthack/default.nix b/pkgs/development/python-modules/pytest-subtesthack/default.nix new file mode 100644 index 000000000000..b639b61ad4d3 --- /dev/null +++ b/pkgs/development/python-modules/pytest-subtesthack/default.nix @@ -0,0 +1,22 @@ +{ stdenv, buildPythonPackage, fetchPypi, pytest }: + +buildPythonPackage rec { + pname = "pytest-subtesthack"; + version = "0.1.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "15kzcr5pchf3id4ikdvlv752rc0j4d912n589l4rifp8qsj19l1x"; + }; + + buildInputs = [ pytest ]; + + # no upstream test + doCheck = false; + + meta = with stdenv.lib; { + description = "Terrible plugin to set up and tear down fixtures within the test function itself"; + homepage = https://github.com/untitaker/pytest-subtesthack; + license = licenses.publicDomain; + }; +} |