Files
nixpkgs/pkgs/development/python-modules/iocapture/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

37 lines
624 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;
sha256 = "86670e1808bcdcd4f70112f43da72ae766f04cd8311d1071ce6e0e0a72e37ee8";
};
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;
};
}