13 buildPythonPackage rec {
16 format = "setuptools";
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
21 owner = "sybrenstuvel";
23 rev = "version-${version}";
24 hash = "sha256-vRZrlXKI0UDdmDevh3XUngH4X8G3VlOCSP0z/rxhIgw=";
27 propagatedBuildInputs = [
40 export HOME=$(mktemp -d);
44 # Tests require network access
46 "test_etree_default_format"
47 "test_etree_format_error"
48 "test_etree_format_happy"
49 "test_explicit_format"
50 "test_json_callback_format"
52 "test_parsed_json_format"
55 "test_xmlnode_format_error"
58 pythonImportsCheck = [
63 description = "A Python interface to the Flickr API";
64 homepage = "https://stuvel.eu/flickrapi";
65 license = licenses.psfl;
66 maintainers = with maintainers; [ obadz ];