diff --git a/pkgs/development/python-modules/iocapture/default.nix b/pkgs/development/python-modules/iocapture/default.nix new file mode 100644 index 000000000000..dd9ca9f6476f --- /dev/null +++ b/pkgs/development/python-modules/iocapture/default.nix @@ -0,0 +1,32 @@ +{ lib +, buildPythonPackage +, fetchPypi +, flexmock +, pytest +, pytest-cov +, six +}: + +buildPythonPackage rec { + pname = "iocapture"; + version = "0.1.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "86670e1808bcdcd4f70112f43da72ae766f04cd8311d1071ce6e0e0a72e37ee8"; + }; + + checkInputs = [ + flexmock + pytest + pytest-cov + six + ]; + + meta = with lib; { + description = "Capture stdout, stderr easily."; + homepage = https://github.com/oinume/iocapture; + license = licenses.MIT; + # maintainers = [ maintainers. ]; + }; +} \ No newline at end of file diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 888b20085018..1a3398fb83a4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2664,6 +2664,8 @@ in { interruptingcow = callPackage ../development/python-modules/interruptingcow {}; + iocapture = callPackage ../development/python-modules/iocapture { }; + iptools = callPackage ../development/python-modules/iptools { }; ipy = callPackage ../development/python-modules/IPy { };