Merge pull request #194713 from fabaff/pyipp-bump

python310Packages.pyipp: 0.11.0 -> 0.12.0

authored by Fabian Affolter and committed by GitHub 8635a1db 19bf6cb6

+24 -5
+24 -5
pkgs/development/python-modules/pyipp/default.nix
··· 1 1 { lib 2 2 , aiohttp 3 3 , aresponses 4 + , awesomeversion 5 + , backoff 4 6 , buildPythonPackage 5 7 , deepmerge 6 8 , fetchFromGitHub 9 + , poetry-core 7 10 , pytest-asyncio 8 11 , pytestCheckHook 9 - , pytest-cov 12 + , pythonOlder 10 13 , yarl 11 14 }: 12 15 13 16 buildPythonPackage rec { 14 17 pname = "pyipp"; 15 - version = "0.11.0"; 18 + version = "0.12.0"; 19 + format = "pyproject"; 20 + 21 + disabled = pythonOlder "3.9"; 16 22 17 23 src = fetchFromGitHub { 18 24 owner = "ctalkington"; 19 25 repo = "python-ipp"; 20 26 rev = version; 21 - sha256 = "0ar3mkyfa9qi3av3885bvacpwlxh420if9ymdj8i4x06ymzc213d"; 27 + hash = "sha256-umlFGI0Y9cWF3N46yFztv0OlhLIzqhQF8e4quCmqn78="; 22 28 }; 23 29 30 + nativeBuildInputs = [ 31 + poetry-core 32 + ]; 33 + 24 34 propagatedBuildInputs = [ 25 35 aiohttp 36 + awesomeversion 37 + backoff 26 38 deepmerge 27 39 yarl 28 40 ]; ··· 30 42 checkInputs = [ 31 43 aresponses 32 44 pytest-asyncio 33 - pytest-cov 34 45 pytestCheckHook 35 46 ]; 36 47 37 - pythonImportsCheck = [ "pyipp" ]; 48 + postPatch = '' 49 + substituteInPlace pyproject.toml \ 50 + --replace 'version = "0.0.0"' 'version = "${version}"' \ 51 + --replace " --cov" "" 52 + ''; 53 + 54 + pythonImportsCheck = [ 55 + "pyipp" 56 + ]; 38 57 39 58 meta = with lib; { 40 59 description = "Asynchronous Python client for Internet Printing Protocol (IPP)";