nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

requests-aws4auth: only disable tests on python >= 3

+10 -3
+10 -3
pkgs/development/python-modules/requests-aws4auth/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, requests }: 1 + { lib, buildPythonPackage, fetchPypi, fetchzip, isPy3k, requests }: 2 + with lib; 2 3 buildPythonPackage rec { 3 4 pname = "requests-aws4auth"; 4 5 version = "0.9"; ··· 9 8 sha256 = "0g52a1pm53aqkc9qb5q1m918c1qy6q47c1qz63p5ilynfbs3m5y9"; 10 9 }; 11 10 11 + postPatch = optionalString isPy3k '' 12 + sed "s/path_encoding_style/'path_encoding_style'/" \ 13 + -i requests_aws4auth/service_parameters.py 14 + ''; 15 + 12 16 propagatedBuildInputs = [ requests ]; 13 17 14 - doCheck = false; 18 + # The test fail on Python >= 3 because of module import errors. 19 + doCheck = !isPy3k; 15 20 16 - meta = with lib; { 21 + meta = { 17 22 description = "Amazon Web Services version 4 authentication for the Python Requests library."; 18 23 homepage = https://github.com/sam-washington/requests-aws4auth; 19 24 license = licenses.mit;