15 buildPythonPackage rec {
20 disabled = pythonOlder "3.7";
22 src = fetchFromGitHub {
23 owner = "sybrenstuvel";
25 rev = "version-${version}";
26 hash = "sha256-vRZrlXKI0UDdmDevh3XUngH4X8G3VlOCSP0z/rxhIgw=";
30 substituteInPlace tests/test_tokencache.py \
31 --replace-fail "assertEquals" "assertEqual" \
32 --replace-fail "assertNotEquals" "assertNotEqual"
35 build-system = [ setuptools ];
50 export HOME=$(mktemp -d);
54 # Tests require network access
56 "test_etree_default_format"
57 "test_etree_format_error"
58 "test_etree_format_happy"
59 "test_explicit_format"
60 "test_json_callback_format"
62 "test_parsed_json_format"
65 "test_xmlnode_format_error"
68 pythonImportsCheck = [ "flickrapi" ];
71 description = "Python interface to the Flickr API";
72 homepage = "https://stuvel.eu/flickrapi";
73 changelog = "https://github.com/sybrenstuvel/flickrapi/blob/version-${version}/CHANGELOG.md";
74 license = licenses.psfl;
75 maintainers = with maintainers; [ obadz ];