3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/iocapture/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

35 lines
569 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, flexmock
, pytest
, pytest-cov
, six
}:
buildPythonPackage rec {
pname = "iocapture";
version = "0.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "86670e1808bcdcd4f70112f43da72ae766f04cd8311d1071ce6e0e0a72e37ee8";
};
nativeCheckInputs = [
flexmock
pytest
pytest-cov
six
];
# No tests in archive
doCheck = false;
meta = with lib; {
description = "Capture stdout, stderr easily.";
homepage = "https://github.com/oinume/iocapture";
license = licenses.mit;
};
}