commit fd026a7ef7fd2684dda5342d9569f2c0770884fb
parent 37b3a73f3de861a19ef07d5a246985fb8d867f38
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Wed, 4 Nov 2026 17:49:59 +0400
Add whiteboxgui
Diffstat:
1 file changed, 41 insertions(+), 0 deletions(-)
diff --git a/pkgs/by-name/wh/whiteboxgui/package.nix b/pkgs/by-name/wh/whiteboxgui/package.nix
@@ -0,0 +1,41 @@
+{
+ lib,
+ fetchFromGitHub,
+ python3Packages,
+ ipyfilechooser,
+ ipytree,
+ whitebox,
+}:
+
+python3Packages.buildPythonPackage (finalAttrs: {
+ pname = "whiteboxgui";
+ version = "2.3.0";
+ pyproject = true;
+
+ __structuredAttrs = true;
+
+ src = fetchFromGitHub {
+ owner = "opengeos";
+ repo = "whiteboxgui";
+ tag = "v${finalAttrs.version}";
+ hash = "sha256-KQkqTT8UIVRcfgoLnqA/G37BKW2J6N/b9/uqXeMWMAM=";
+ };
+
+ build-system = with python3Packages; [ setuptools_80 ];
+
+ dependencies = with python3Packages; [
+ ipyfilechooser
+ ipywidgets
+ ipytree
+ whitebox
+ ];
+
+ pythonImportsCheck = [ "whiteboxgui" ];
+
+ meta = {
+ description = "An interactive GUI for WhiteboxTools in a Jupyter-based environment";
+ homepage = "https://github.com/opengeos/whiteboxgui";
+ license = lib.licenses.mit;
+ maintainers = [ lib.maintainers.sikmir ];
+ };
+})