Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 21 lines 610 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, oauthlib, requests }: 3 4buildPythonPackage rec { 5 version = "1.2.0"; 6 pname = "requests-oauthlib"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "bd6533330e8748e94bf0b214775fed487d309b8b8fe823dc45641ebcd9a32f57"; 11 }; 12 13 doCheck = false; # Internet tests fail when building in chroot 14 propagatedBuildInputs = [ oauthlib requests ]; 15 16 meta = with stdenv.lib; { 17 description = "OAuthlib authentication support for Requests"; 18 homepage = https://github.com/requests/requests-oauthlib; 19 maintainers = with maintainers; [ prikhi ]; 20 }; 21}