package.nix (858B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonPackage (finalAttrs: { 8 pname = "tilematrix"; 9 version = "2024.11.0"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "ungarj"; 14 repo = "tilematrix"; 15 tag = finalAttrs.version; 16 hash = "sha256-ZhSdLcbvvW0YS8rCIFbuBmyQvtfCP9NDSuF1vWiCVf0="; 17 }; 18 19 build-system = with python3Packages; [ hatchling ]; 20 21 dependencies = with python3Packages; [ 22 affine 23 click 24 geojson 25 rasterio 26 shapely 27 ]; 28 29 nativeCheckInputs = with python3Packages; [ 30 pytestCheckHook 31 pytest-cov-stub 32 ]; 33 34 disabledTests = [ 35 "test_bbox" 36 "test_tile" 37 ]; 38 39 meta = { 40 description = "Helps handling tile pyramids"; 41 homepage = "https://github.com/ungarj/tilematrix"; 42 license = lib.licenses.mit; 43 maintainers = [ lib.maintainers.sikmir ]; 44 }; 45 })
