1{ lib
2, buildPythonPackage
3, fetchPypi
4, flexmock
5, pytest
6, pytest-cov
7, six
8}:
9
10buildPythonPackage rec {
11 pname = "iocapture";
12 version = "0.1.2";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "86670e1808bcdcd4f70112f43da72ae766f04cd8311d1071ce6e0e0a72e37ee8";
17 };
18
19 checkInputs = [
20 flexmock
21 pytest
22 pytest-cov
23 six
24 ];
25
26 # No tests in archive
27 doCheck = false;
28
29 meta = with lib; {
30 description = "Capture stdout, stderr easily.";
31 homepage = "https://github.com/oinume/iocapture";
32 license = licenses.mit;
33 };
34}