diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-11-05 10:45:54 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-11-05 10:45:54 +0100 |
commit | 07eeeb36008b63c8edfc75fce79beb028cd5c1e4 (patch) | |
tree | 815bfac4b5ee67fc223ea785e965c2680bac4db0 /pkgs/development/python-modules/requests-oauthlib | |
parent | 37d5539aeb10973aba9c84f5214625c85e9c39b4 (diff) | |
download | nixpkgs-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.tar nixpkgs-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.tar.gz nixpkgs-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.tar.bz2 nixpkgs-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.tar.lz nixpkgs-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.tar.xz nixpkgs-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.tar.zst nixpkgs-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.zip |
Python: move expressions in python-modules to their own folders
Diffstat (limited to 'pkgs/development/python-modules/requests-oauthlib')
-rw-r--r-- | pkgs/development/python-modules/requests-oauthlib/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/requests-oauthlib/default.nix b/pkgs/development/python-modules/requests-oauthlib/default.nix new file mode 100644 index 00000000000..8674a05af38 --- /dev/null +++ b/pkgs/development/python-modules/requests-oauthlib/default.nix @@ -0,0 +1,22 @@ +{ stdenv, buildPythonPackage, fetchPypi +, oauthlib, requests }: + +buildPythonPackage rec { + version = "0.8.0"; + pname = "requests-oauthlib"; + name = "${pname}-${version}"; + + src = fetchPypi { + inherit pname version; + sha256 = "0s7lh5q661gjza1czlmibkrwf8dcj9qfqm3hs39sdbbyflbc8fl8"; + }; + + doCheck = false; # Internet tests fail when building in chroot + propagatedBuildInputs = [ oauthlib requests ]; + + meta = with stdenv.lib; { + description = "OAuthlib authentication support for Requests"; + homepage = https://github.com/requests/requests-oauthlib; + maintainers = with maintainers; [ prikhi ]; + }; +} |