mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
35 lines
561 B
Nix
35 lines
561 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, flexmock
|
|
, pytest
|
|
, pytestcov
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "iocapture";
|
|
version = "0.1.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "86670e1808bcdcd4f70112f43da72ae766f04cd8311d1071ce6e0e0a72e37ee8";
|
|
};
|
|
|
|
checkInputs = [
|
|
flexmock
|
|
pytest
|
|
pytestcov
|
|
six
|
|
];
|
|
|
|
# No tests in archive
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Capture stdout, stderr easily.";
|
|
homepage = "https://github.com/oinume/iocapture";
|
|
license = licenses.mit;
|
|
};
|
|
}
|