summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-datafiles
diff options
context:
space:
mode:
authorMaximilian Güntner <code@sourcediver.org>2017-05-04 19:18:28 +0200
committerMaximilian Güntner <code@sourcediver.org>2017-05-05 10:59:28 +0200
commit7aafda3024daae0f35d553b8c7567354f0b8b6ba (patch)
treee742ccd893eda8f5ca9000d3fc9d510f18e0fdfa /pkgs/development/python-modules/pytest-datafiles
parent8b6ea100ce2d0f2a4389040f111a74f484ea6bc8 (diff)
downloadnixlib-7aafda3024daae0f35d553b8c7567354f0b8b6ba.tar
nixlib-7aafda3024daae0f35d553b8c7567354f0b8b6ba.tar.gz
nixlib-7aafda3024daae0f35d553b8c7567354f0b8b6ba.tar.bz2
nixlib-7aafda3024daae0f35d553b8c7567354f0b8b6ba.tar.lz
nixlib-7aafda3024daae0f35d553b8c7567354f0b8b6ba.tar.xz
nixlib-7aafda3024daae0f35d553b8c7567354f0b8b6ba.tar.zst
nixlib-7aafda3024daae0f35d553b8c7567354f0b8b6ba.zip
pythonPackages: pytest-datafiles init at 1.0
Diffstat (limited to 'pkgs/development/python-modules/pytest-datafiles')
-rw-r--r--pkgs/development/python-modules/pytest-datafiles/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-datafiles/default.nix b/pkgs/development/python-modules/pytest-datafiles/default.nix
new file mode 100644
index 000000000000..6df1792f884b
--- /dev/null
+++ b/pkgs/development/python-modules/pytest-datafiles/default.nix
@@ -0,0 +1,19 @@
+{ stdenv, buildPythonPackage, fetchPypi, py, pytest }:
+
+buildPythonPackage rec {
+  name = "${pname}-${version}";
+  pname = "pytest-datafiles";
+  version = "1.0";
+  src = fetchPypi {
+    inherit version pname;
+    sha256 = "1w5435b5pimk6479ml53lmld3qbag7awcg4gl3ljdywc1v096r5v";
+  };
+
+  buildInputs = [ py pytest ];
+
+  meta = with stdenv.lib; {
+    license = licenses.mit;
+    website = https://pypi.python.org/pypi/pytest-catchlog/;
+    description = "py.test plugin to create a 'tmpdir' containing predefined files/directories.";
+  };
+}
\ No newline at end of file