Merge pull request #205104 from r-ryantm/auto-update/python3.10-wurlitzer

python310Packages.wurlitzer: 3.0.2 -> 3.0.3
This commit is contained in:
Fabian Affolter 2022-12-09 11:21:33 +01:00 committed by GitHub
commit ef3a9d87d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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