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:
commit
ef3a9d87d7
1 changed files with 20 additions and 13 deletions
|
@ -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; [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue