lol

Merge pull request #146292 from fabaff/update-libcloud

python3Packages.libcloud: 3.4.0 -> 3.4.1

authored by

Fabian Affolter and committed by
GitHub
701428e9 add0eb81

+22 -13
+22 -13
pkgs/development/python-modules/libcloud/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , isPy27 5 - , mock 6 4 , pycrypto 5 + , pythonOlder 7 6 , requests 8 - , pytest-runner 9 - , pytest 10 - , requests-mock 11 - , typing 12 7 }: 13 8 14 9 buildPythonPackage rec { 15 10 pname = "apache-libcloud"; 16 - version = "3.4.0"; 11 + version = "3.4.1"; 12 + format = "setuptools"; 13 + 14 + disabled = pythonOlder "3.6"; 17 15 18 16 src = fetchPypi { 19 17 inherit pname version; 20 - sha256 = "17618ccbe3493f2be015db9e1efa35080ff34d470de723f1384d908ff126e51c"; 18 + sha256 = "sha256-iPGNoM8/rAr3I+dD+3QdnRviUYge2reloNFimVW1ARs="; 21 19 }; 22 20 23 - checkInputs = [ mock pytest pytest-runner requests-mock ]; 24 - propagatedBuildInputs = [ pycrypto requests ] ++ lib.optionals isPy27 [ typing ]; 21 + propagatedBuildInputs = [ 22 + pycrypto 23 + requests 24 + ]; 25 + 26 + preConfigure = '' 27 + cp libcloud/test/secrets.py-dist libcloud/test/secrets.py 28 + ''; 25 29 26 - preConfigure = "cp libcloud/test/secrets.py-dist libcloud/test/secrets.py"; 30 + postPatch = '' 31 + substituteInPlace setup.py \ 32 + --replace "setup_requires=pytest_runner," "setup_requires=[]," 33 + ''; 27 34 28 35 # requires a certificates file 29 36 doCheck = false; 30 37 31 - pythonImportsCheck = [ "libcloud" ]; 38 + pythonImportsCheck = [ 39 + "libcloud" 40 + ]; 32 41 33 42 meta = with lib; { 34 43 description = "A unified interface to many cloud providers"; 35 44 homepage = "https://libcloud.apache.org/"; 36 45 changelog = "https://github.com/apache/libcloud/blob/v${version}/CHANGES.rst"; 37 46 license = licenses.asl20; 47 + maintainers = with maintainers; [ ]; 38 48 }; 39 - 40 49 }