Files
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

36 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 ];
};
}