blob: d1797acb7d2691f379fe13f7799fdfa09f1de517 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ lib
, buildPythonPackage
, fetchPypi
, mock
, pytest
}:
buildPythonPackage rec {
pname = "wurlitzer";
version = "1.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "0nab45pfgqdxhhyshf717xfzniss2h3bx19zdaq9gqr6v8lw6wpr";
};
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;
};
}
|