summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyfakefs
diff options
context:
space:
mode:
authorGabriel Ebner <gebner@gebner.org>2018-01-08 14:09:18 +0100
committerGabriel Ebner <gebner@gebner.org>2018-01-08 14:09:18 +0100
commit738e97fcca310a12f5f3975bf41952b325a60f80 (patch)
tree01b8b1c8f3dbdd0f08b5ed113f65bdf9297b04a2 /pkgs/development/python-modules/pyfakefs
parent83a5765b1fea2472ec9cf9d179d3efd18b45c77e (diff)
downloadnixpkgs-738e97fcca310a12f5f3975bf41952b325a60f80.tar
nixpkgs-738e97fcca310a12f5f3975bf41952b325a60f80.tar.gz
nixpkgs-738e97fcca310a12f5f3975bf41952b325a60f80.tar.bz2
nixpkgs-738e97fcca310a12f5f3975bf41952b325a60f80.tar.lz
nixpkgs-738e97fcca310a12f5f3975bf41952b325a60f80.tar.xz
nixpkgs-738e97fcca310a12f5f3975bf41952b325a60f80.tar.zst
nixpkgs-738e97fcca310a12f5f3975bf41952b325a60f80.zip
pythonPackages.pyfakefs: init at 3.3
Diffstat (limited to 'pkgs/development/python-modules/pyfakefs')
-rw-r--r--pkgs/development/python-modules/pyfakefs/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyfakefs/default.nix b/pkgs/development/python-modules/pyfakefs/default.nix
new file mode 100644
index 00000000000..25c286414a3
--- /dev/null
+++ b/pkgs/development/python-modules/pyfakefs/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, buildPythonPackage, fetchPypi, pytest, unittest2 }:
+
+buildPythonPackage rec {
+  version = "3.3";
+  pname = "pyfakefs";
+  name = "${pname}-${version}";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "19hj5wyi8wy8n8hdj5dwlryl3frrn783y4dsfdxn5mg0lpg9iqg3";
+  };
+
+  propagatedBuildInputs = [ pytest unittest2 ];
+
+  meta = with stdenv.lib; {
+    description = "Fake file system that mocks the Python file system modules";
+    license     = licenses.asl20;
+    homepage    = "http://pyfakefs.org/";
+    maintainers = with maintainers; [ gebner ];
+  };
+}