1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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 ];
};
}
|