about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/iocapture/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/iocapture/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/iocapture/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/iocapture/default.nix b/nixpkgs/pkgs/development/python-modules/iocapture/default.nix
new file mode 100644
index 000000000000..0f0466c8b3eb
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/iocapture/default.nix
@@ -0,0 +1,34 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, flexmock
+, pytest
+, pytestcov
+, six
+}:
+
+buildPythonPackage rec {
+  pname = "iocapture";
+  version = "0.1.2";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "86670e1808bcdcd4f70112f43da72ae766f04cd8311d1071ce6e0e0a72e37ee8";
+  };
+
+  checkInputs = [
+    flexmock
+    pytest
+    pytestcov
+    six
+  ];
+
+  # No tests in archive
+  doCheck = false;
+
+  meta = with lib; {
+    description = "Capture stdout, stderr easily.";
+    homepage = "https://github.com/oinume/iocapture";
+    license = licenses.mit;
+  };
+}