2018-11-24 14:32:54 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, flexmock
|
|
|
|
, pytest
|
2018-11-24 14:35:58 +01:00
|
|
|
, pytestcov
|
2018-11-24 14:32:54 +01:00
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "iocapture";
|
|
|
|
version = "0.1.2";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "86670e1808bcdcd4f70112f43da72ae766f04cd8311d1071ce6e0e0a72e37ee8";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
flexmock
|
|
|
|
pytest
|
2018-11-24 14:35:58 +01:00
|
|
|
pytestcov
|
2018-11-24 14:32:54 +01:00
|
|
|
six
|
|
|
|
];
|
|
|
|
|
2018-11-24 14:35:58 +01:00
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-11-24 14:32:54 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Capture stdout, stderr easily.";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/oinume/iocapture";
|
2018-11-29 16:26:52 +01:00
|
|
|
license = licenses.mit;
|
2018-11-24 14:32:54 +01:00
|
|
|
};
|
2018-11-29 16:26:52 +01:00
|
|
|
}
|