depot/third_party/nixpkgs/pkgs/development/python-modules/flickrapi/default.nix
Default email 21cecf6002 Project import generated by Copybara.
GitOrigin-RevId: dd14e5d78e90a2ccd6007e569820de9b4861a6c2
2021-07-24 08:14:16 -04:00

35 lines
925 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
, requests-toolbelt
, requests_oauthlib
, pytest
, pytest-runner
, pytest-cov
, responses
}:
buildPythonPackage rec {
pname = "flickrapi";
version = "2.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "03g2z21k6nhxgwysjrgnxj9m1yg25mnnkr10gpyfhfkd9w77pcpz";
};
propagatedBuildInputs = [ requests requests-toolbelt requests_oauthlib ];
checkInputs = [ pytest pytest-runner pytest-cov 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 ];
};
}