mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
37 lines
609 B
Nix
37 lines
609 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
flexmock,
|
|
pytestCheckHook,
|
|
pytest-cov-stub,
|
|
six,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "iocapture";
|
|
version = "0.1.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-hmcOGAi83NT3ARL0Pacq52bwTNgxHRBxzm4OCnLjfug=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
flexmock
|
|
pytestCheckHook
|
|
pytest-cov-stub
|
|
six
|
|
];
|
|
|
|
# No tests in archive
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Capture stdout, stderr easily";
|
|
homepage = "https://github.com/oinume/iocapture";
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|