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