1{ lib 2, buildPythonPackage 3, fetchPypi 4, pillow 5, requests 6}: 7 8buildPythonPackage rec { 9 pname = "staticmap"; 10 version = "0.5.7"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-x6lrkCumEpLoGMILCBBhnWuBps21C8wauS1QrE2yCn8="; 16 }; 17 18 propagatedBuildInputs = [ requests pillow ]; 19 20 pythonImportsCheck = [ "staticmap" ]; 21 22 # Tests seem to be broken 23 doCheck = false; 24 25 meta = with lib; { 26 description = "A small, python-based library for creating map images with lines and markers"; 27 homepage = "https://pypi.org/project/staticmap/"; 28 license = with licenses; [ asl20 ]; 29 maintainers = with maintainers; [ traxys ]; 30 }; 31}