mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 06:24:08 +01:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
35 lines
695 B
Nix
35 lines
695 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 = {
|
|
description = "Small, python-based library for creating map images with lines and markers";
|
|
homepage = "https://pypi.org/project/staticmap/";
|
|
license = with lib.licenses; [ asl20 ];
|
|
maintainers = with lib.maintainers; [ traxys ];
|
|
};
|
|
}
|