mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
python3Packages.staticmap3: init at 0.1.0
new dependency for fittrackee
This commit is contained in:
parent
75d7e7a568
commit
dadbfdb343
2 changed files with 62 additions and 0 deletions
60
pkgs/development/python-modules/staticmap3/default.nix
Normal file
60
pkgs/development/python-modules/staticmap3/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue