default.nix (895B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonPackage rec { 8 pname = "geoutils"; 9 version = "0.1.17"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "GlacioHack"; 14 repo = "geoutils"; 15 tag = "v${version}"; 16 hash = "sha256-EfDqr0nKRCoypi7cX3B1Smiw4IaWqQf0v/CpTAFQpzw="; 17 }; 18 19 build-system = with python3Packages; [ setuptools-scm ]; 20 21 pythonRelaxDeps = true; 22 23 dependencies = with python3Packages; [ 24 affine 25 dask 26 geopandas 27 matplotlib 28 numpy 29 pandas 30 pyproj 31 rasterio 32 rioxarray 33 scipy 34 shapely 35 tqdm 36 xarray 37 ]; 38 39 doCheck = false; # requires network access 40 41 meta = { 42 description = "Analysis of georeferenced rasters, vectors and point clouds"; 43 homepage = "https://github.com/GlacioHack/geoutils"; 44 license = lib.licenses.asl20; 45 maintainers = [ lib.maintainers.sikmir ]; 46 }; 47 }