Merge pull request #135044 from fabaff/bump-aioconsole

python3Packages.aioconsole: 0.3.1 -> 0.3.2

authored by Fabian Affolter and committed by GitHub baabfbf9 c4dba287

+27 -10
+27 -10
pkgs/development/python-modules/aioconsole/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, pythonOlder }: 2 3 # This package provides a binary "apython" which sometimes invokes 4 # [sys.executable, '-m', 'aioconsole'] as a subprocess. If apython is ··· 10 # wrapped to be able to find aioconsole and any other packages. 11 buildPythonPackage rec { 12 pname = "aioconsole"; 13 - version = "0.3.1"; 14 disabled = pythonOlder "3.6"; 15 16 - src = fetchPypi { 17 - inherit pname version; 18 - sha256 = "7c038bb40b7690bf5be6b17154830b7bff25e7be1c02d8420a346c3efbd5d8e5"; 19 }; 20 21 - # hardcodes a test dependency on an old version of pytest-asyncio 22 - doCheck = false; 23 24 - meta = { 25 description = "Asynchronous console and interfaces for asyncio"; 26 homepage = "https://github.com/vxgmichel/aioconsole"; 27 - license = lib.licenses.gpl3; 28 - maintainers = [ lib.maintainers.catern ]; 29 }; 30 }
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pytest-asyncio 5 + , pytestCheckHook 6 + , pythonOlder 7 + }: 8 9 # This package provides a binary "apython" which sometimes invokes 10 # [sys.executable, '-m', 'aioconsole'] as a subprocess. If apython is ··· 16 # wrapped to be able to find aioconsole and any other packages. 17 buildPythonPackage rec { 18 pname = "aioconsole"; 19 + version = "0.3.2"; 20 disabled = pythonOlder "3.6"; 21 22 + src = fetchFromGitHub { 23 + owner = "vxgmichel"; 24 + repo = pname; 25 + rev = "v${version}"; 26 + sha256 = "0bximaalakw1dxan1lxar33l8hnmxqn0fg62hmdmprmra72z4bm8"; 27 }; 28 29 + checkInputs = [ 30 + pytest-asyncio 31 + pytestCheckHook 32 + ]; 33 34 + postPatch = '' 35 + substituteInPlace setup.cfg \ 36 + --replace "--cov aioconsole --count 2" "" 37 + ''; 38 + 39 + pythonImportsCheck = [ "aioconsole" ]; 40 + 41 + meta = with lib; { 42 description = "Asynchronous console and interfaces for asyncio"; 43 homepage = "https://github.com/vxgmichel/aioconsole"; 44 + license = licenses.gpl3Only; 45 + maintainers = with maintainers; [ catern ]; 46 }; 47 }