depot/third_party/nixpkgs/pkgs/development/python-modules/wurlitzer/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

39 lines
752 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "wurlitzer";
version = "3.0.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-Ik9f5wYYvjhywF393IxFcZHsGHBlRZYnn8we2t6+Pls=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"wurlitzer"
];
pytestFlagsArray = [
"test.py"
];
meta = with lib; {
description = "Capture C-level output in context managers";
homepage = "https://github.com/minrk/wurlitzer";
changelog = "https://github.com/minrk/wurlitzer/blob/{version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}