nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

package.nix (874B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5   ipyfilechooser,
      6   ipytree,
      7   whitebox,
      8 }:
      9 
     10 python3Packages.buildPythonPackage (finalAttrs: {
     11   pname = "whiteboxgui";
     12   version = "2.3.0";
     13   pyproject = true;
     14 
     15   __structuredAttrs = true;
     16 
     17   src = fetchFromGitHub {
     18     owner = "opengeos";
     19     repo = "whiteboxgui";
     20     tag = "v${finalAttrs.version}";
     21     hash = "sha256-KQkqTT8UIVRcfgoLnqA/G37BKW2J6N/b9/uqXeMWMAM=";
     22   };
     23 
     24   build-system = with python3Packages; [ setuptools_80 ];
     25 
     26   dependencies = with python3Packages; [
     27     ipyfilechooser
     28     ipywidgets
     29     ipytree
     30     whitebox
     31   ];
     32 
     33   pythonImportsCheck = [ "whiteboxgui" ];
     34 
     35   meta = {
     36     description = "An interactive GUI for WhiteboxTools in a Jupyter-based environment";
     37     homepage = "https://github.com/opengeos/whiteboxgui";
     38     license = lib.licenses.mit;
     39     maintainers = [ lib.maintainers.sikmir ];
     40   };
     41 })