python.pkgs.wurlitzer: init at 1.0.2

This commit is contained in:
Frederik Rietdijk 2019-02-15 12:44:44 +01:00
parent a8b6bf3262
commit 1c9977c673
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, mock
, pytest
}:
buildPythonPackage rec {
pname = "wurlitzer";
version = "1.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "23e85af0850b98add77bef0a1eb47b243baab29160131d349234c9dfc9e57add";
};
checkInputs = [ mock pytest ];
checkPhase = ''
py.test test.py
'';
meta = {
description = "Capture C-level output in context managers";
homepage = https://github.com/minrk/wurlitzer;
license = lib.licenses.mit;
};
}

View file

@ -4585,6 +4585,8 @@ in {
wsgiproxy2 = callPackage ../development/python-modules/wsgiproxy2 { };
wurlitzer = callPackage ../development/python-modules/wurlitzer { };
xcaplib = callPackage ../development/python-modules/xcaplib { };
xlib = callPackage ../development/python-modules/xlib { };