pythonPackages.flickrapi: init at 2.4.0

This commit is contained in:
obadz 2018-09-02 14:09:57 +01:00
parent 7d7727e436
commit 275e6a0a12
2 changed files with 37 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -5395,6 +5395,8 @@ in {
casttube = callPackage ../development/python-modules/casttube { };
lzstring = callPackage ../development/python-modules/lzstring { };
flickrapi = callPackage ../development/python-modules/flickrapi { };
});
in fix' (extends overrides packages)