nur-packages

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

commit 3c3d533068c614f599042aad2780ae12c29790bf
parent a1458a4941082a9466b40b14cad4a9616ea222cf
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sun, 28 Sep 2025 00:14:35 +0400

Add geoutils

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/geospatial/geoutils/default.nix | 47+++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 48 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -202,6 +202,7 @@ lib.makeScope newScope ( elevation = callPackage ./geospatial/elevation { click = click-6-7; }; garmindev = callPackage ./geospatial/qlandkartegt/garmindev.nix { }; geojson-pydantic = callPackage ./geospatial/geojson-pydantic { }; + geoutils = callPackage ./geospatial/geoutils { }; geowebcache = callPackage ./geospatial/geowebcache { }; go-staticmaps = callPackage ./geospatial/go-staticmaps { }; hecate = callPackage ./geospatial/hecate { }; diff --git a/pkgs/geospatial/geoutils/default.nix b/pkgs/geospatial/geoutils/default.nix @@ -0,0 +1,47 @@ +{ + lib, + fetchFromGitHub, + python3Packages, +}: + +python3Packages.buildPythonPackage rec { + pname = "geoutils"; + version = "0.1.17"; + pyproject = true; + + src = fetchFromGitHub { + owner = "GlacioHack"; + repo = "geoutils"; + tag = "v${version}"; + hash = "sha256-EfDqr0nKRCoypi7cX3B1Smiw4IaWqQf0v/CpTAFQpzw="; + }; + + build-system = with python3Packages; [ setuptools-scm ]; + + pythonRelaxDeps = true; + + dependencies = with python3Packages; [ + affine + dask + geopandas + matplotlib + numpy + pandas + pyproj + rasterio + rioxarray + scipy + shapely + tqdm + xarray + ]; + + doCheck = false; # requires network access + + meta = { + description = "Analysis of georeferenced rasters, vectors and point clouds"; + homepage = "https://github.com/GlacioHack/geoutils"; + license = lib.licenses.asl20; + maintainers = [ lib.maintainers.sikmir ]; + }; +}