depot/third_party/nixpkgs/pkgs/development/python-modules/staticmap/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

35 lines
697 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 = "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 ];
};
}