commit deb0fbbfc0e150c67ddb300b8b24a1bce453c059 parent c6ba5a50ff19c5d61cc7e9a47443198ffd69559f Author: Nikolay Korotkiy <sikmir@disroot.org> Date: Sat, 15 Aug 2026 12:22:16 +0400 Add smoothify Diffstat:
| A | pkgs/by-name/sm/smoothify/package.nix | | | 42 | ++++++++++++++++++++++++++++++++++++++++++ |
1 file changed, 42 insertions(+), 0 deletions(-)
diff --git a/pkgs/by-name/sm/smoothify/package.nix b/pkgs/by-name/sm/smoothify/package.nix @@ -0,0 +1,42 @@ +{ + lib, + fetchFromGitHub, + python3Packages, +}: + +python3Packages.buildPythonPackage (finalAttrs: { + pname = "smoothify"; + version = "0.3.3"; + pyproject = true; + + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "DPIRD-DMA"; + repo = "Smoothify"; + tag = "v${finalAttrs.version}"; + hash = "sha256-J8GVRiy0b4uIAcpAsKIB/QhuYylszy7cpul0495S++k="; + }; + + build-system = with python3Packages; [ setuptools-scm ]; + + dependencies = with python3Packages; [ + geopandas + joblib + numpy + scipy + shapely + ]; + + nativeCheckInputs = with python3Packages; [ + pytestCheckHook + pytest-xdist + ]; + + meta = { + description = "Transform pixelated geometries from raster data into smooth natural looking features"; + homepage = "https://github.com/DPIRD-DMA/Smoothify"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.sikmir ]; + }; +})
