python3Packages.staticmap3: init at 0.1.0

new dependency for fittrackee
This commit is contained in:
Chris Moultrie 2025-06-01 23:01:09 -04:00
parent 75d7e7a568
commit dadbfdb343
No known key found for this signature in database
2 changed files with 62 additions and 0 deletions

View file

@ -0,0 +1,60 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
cachecontrol,
filelock,
mypy,
pillow,
poetry-core,
requests,
ruff,
types-requests,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "staticmap3";
version = "0.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "SamR1";
repo = "staticmap";
tag = "v${version}";
hash = "sha256-SMy4yxHA9Z3BFW6kX8vC7WfsmuZMNqocJ9+dJB6zwSs=";
};
build-system = [
poetry-core
];
dependencies = [
cachecontrol
requests
pillow
];
nativeCheckInputs = [
unittestCheckHook
];
optional-dependencies = {
filecache = [ filelock ];
dev = [
mypy
ruff
types-requests
];
};
pythonImportsCheck = [ "staticmap3" ];
meta = {
description = "Small, python-based library for creating map images with lines and markers";
homepage = "https://github.com/SamR1/staticmap";
changelog = "https://github.com/SamR1/staticmap/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ tebriel ];
};
}

View file

@ -16783,6 +16783,8 @@ self: super: with self; {
staticmap = callPackage ../development/python-modules/staticmap { };
staticmap3 = callPackage ../development/python-modules/staticmap3 { };
staticvectors = callPackage ../development/python-modules/staticvectors { };
statistics = callPackage ../development/python-modules/statistics { };