1{ lib
2, buildPythonPackage
3, fetchPypi
4, requests
5, requests-toolbelt
6, requests_oauthlib
7, pytest
8, pytest-runner
9, pytest-cov
10, responses
11}:
12
13buildPythonPackage rec {
14 pname = "flickrapi";
15 version = "2.4.0";
16
17 src = fetchPypi {
18 inherit pname version;
19 sha256 = "03g2z21k6nhxgwysjrgnxj9m1yg25mnnkr10gpyfhfkd9w77pcpz";
20 };
21
22 propagatedBuildInputs = [ requests requests-toolbelt requests_oauthlib ];
23
24 checkInputs = [ pytest pytest-runner pytest-cov responses ];
25 doCheck = false; # Otherwise:
26 # ========================= no tests ran in 0.01 seconds =========================
27 # builder for '/nix/store/c8a58v6aa18zci08q2l53s12ywn8jqhq-python3.6-flickrapi-2.4.0.drv' failed with exit code 5
28
29 meta = {
30 description = "A Python interface to the Flickr API";
31 homepage = "https://stuvel.eu/flickrapi";
32 license = lib.licenses.psfl;
33 maintainers = with lib.maintainers; [ obadz ];
34 };
35}