package.nix (891B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonPackage (finalAttrs: { 8 pname = "smoothify"; 9 version = "0.3.3"; 10 pyproject = true; 11 12 __structuredAttrs = true; 13 14 src = fetchFromGitHub { 15 owner = "DPIRD-DMA"; 16 repo = "Smoothify"; 17 tag = "v${finalAttrs.version}"; 18 hash = "sha256-J8GVRiy0b4uIAcpAsKIB/QhuYylszy7cpul0495S++k="; 19 }; 20 21 build-system = with python3Packages; [ setuptools-scm ]; 22 23 dependencies = with python3Packages; [ 24 geopandas 25 joblib 26 numpy 27 scipy 28 shapely 29 ]; 30 31 nativeCheckInputs = with python3Packages; [ 32 pytestCheckHook 33 pytest-xdist 34 ]; 35 36 meta = { 37 description = "Transform pixelated geometries from raster data into smooth natural looking features"; 38 homepage = "https://github.com/DPIRD-DMA/Smoothify"; 39 license = lib.licenses.mit; 40 maintainers = [ lib.maintainers.sikmir ]; 41 }; 42 })
