2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
31 lines
682 B
Nix
31 lines
682 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pillow
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "staticmap";
|
|
version = "0.5.7";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-x6lrkCumEpLoGMILCBBhnWuBps21C8wauS1QrE2yCn8=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ requests pillow ];
|
|
|
|
pythonImportsCheck = [ "staticmap" ];
|
|
|
|
# Tests seem to be broken
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "A small, python-based library for creating map images with lines and markers";
|
|
homepage = "https://pypi.org/project/staticmap/";
|
|
license = with licenses; [ asl20 ];
|
|
maintainers = with maintainers; [ traxys ];
|
|
};
|
|
}
|