nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 25ae5a7666c8df0b551cacd7f90bfc4baba4b5da
parent e27c63da13525a6b0b3b1c74756d293072294400
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sat, 14 Mar 2026 16:40:01 +0400

tilematrix: init at 2024.11.0

Diffstat:
Apkgs/by-name/ti/tilematrix/package.nix | 45+++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+), 0 deletions(-)

diff --git a/pkgs/by-name/ti/tilematrix/package.nix b/pkgs/by-name/ti/tilematrix/package.nix @@ -0,0 +1,45 @@ +{ + lib, + fetchFromGitHub, + python3Packages, +}: + +python3Packages.buildPythonPackage (finalAttrs: { + pname = "tilematrix"; + version = "2024.11.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "ungarj"; + repo = "tilematrix"; + tag = finalAttrs.version; + hash = "sha256-ZhSdLcbvvW0YS8rCIFbuBmyQvtfCP9NDSuF1vWiCVf0="; + }; + + build-system = with python3Packages; [ hatchling ]; + + dependencies = with python3Packages; [ + affine + click + geojson + rasterio + shapely + ]; + + nativeCheckInputs = with python3Packages; [ + pytestCheckHook + pytest-cov-stub + ]; + + disabledTests = [ + "test_bbox" + "test_tile" + ]; + + meta = { + description = "Helps handling tile pyramids"; + homepage = "https://github.com/ungarj/tilematrix"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.sikmir ]; + }; +})