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