diff options
author | obadz <obadz-git@obadz.com> | 2018-09-02 14:09:57 +0100 |
---|---|---|
committer | obadz <obadz-git@obadz.com> | 2019-03-07 15:37:19 +0000 |
commit | 275e6a0a1222a07e3fbe8aada20e7c25ba56079c (patch) | |
tree | b5b56939c83e5bb1f74eb238d8156575e825bc85 /pkgs/development/python-modules/flickrapi | |
parent | 7d7727e4367aad3777dbc9bedd6ad7c84abc5f4c (diff) | |
download | nixpkgs-275e6a0a1222a07e3fbe8aada20e7c25ba56079c.tar nixpkgs-275e6a0a1222a07e3fbe8aada20e7c25ba56079c.tar.gz nixpkgs-275e6a0a1222a07e3fbe8aada20e7c25ba56079c.tar.bz2 nixpkgs-275e6a0a1222a07e3fbe8aada20e7c25ba56079c.tar.lz nixpkgs-275e6a0a1222a07e3fbe8aada20e7c25ba56079c.tar.xz nixpkgs-275e6a0a1222a07e3fbe8aada20e7c25ba56079c.tar.zst nixpkgs-275e6a0a1222a07e3fbe8aada20e7c25ba56079c.zip |
pythonPackages.flickrapi: init at 2.4.0
Diffstat (limited to 'pkgs/development/python-modules/flickrapi')
-rw-r--r-- | pkgs/development/python-modules/flickrapi/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/flickrapi/default.nix b/pkgs/development/python-modules/flickrapi/default.nix new file mode 100644 index 00000000000..88dfff3aa8f --- /dev/null +++ b/pkgs/development/python-modules/flickrapi/default.nix @@ -0,0 +1,35 @@ +{ lib +, buildPythonPackage +, fetchPypi +, requests +, requests_toolbelt +, requests_oauthlib +, pytest +, pytestrunner +, pytestcov +, responses +}: + +buildPythonPackage rec { + pname = "flickrapi"; + version = "2.4.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "03g2z21k6nhxgwysjrgnxj9m1yg25mnnkr10gpyfhfkd9w77pcpz"; + }; + + propagatedBuildInputs = [ requests requests_toolbelt requests_oauthlib ]; + + checkInputs = [ pytest pytestrunner pytestcov responses ]; + doCheck = false; # Otherwise: + # ========================= no tests ran in 0.01 seconds ========================= + # builder for '/nix/store/c8a58v6aa18zci08q2l53s12ywn8jqhq-python3.6-flickrapi-2.4.0.drv' failed with exit code 5 + + meta = { + description = "A Python interface to the Flickr API"; + homepage = https://stuvel.eu/flickrapi; + license = lib.licenses.psfl; + maintainers = with lib.maintainers; [ obadz ]; + }; +} |