Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #490 from imincik/grass-addons-package
Browse files Browse the repository at this point in the history
pkgs: add grass-addons package
  • Loading branch information
imincik authored Aug 7, 2024
2 parents 875a594 + 58d1c64 commit 7a035fb
Show file tree
Hide file tree
Showing 9 changed files with 2,344 additions and 0 deletions.
11 changes: 11 additions & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,17 @@ git add pkgs/qgis/*-plugins-list.nix
git commit -m "qgis-plugins: weekly update"
```

* Update GRASS plugins
```bash
pushd pkgs/grass
./update-plugins.sh
popd

git add pkgs/grass/plugins-rev.nix
git add pkgs/grass/plugins-list.nix
git commit -m "grass-plugins: weekly update"
```

* Build, test and upload all packages to binary chache
```bash
utils/nix-build-all.sh
Expand Down
21 changes: 21 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,23 @@
inherit gdal geos pdal proj;
};

grass-plugins =
let
plugins = import ./pkgs/grass/plugins-list.nix;
in
mapAttrs'
(
name: value: {
name = "grass-plugin-${name}";
value = pkgs.callPackage ./pkgs/grass/plugins.nix {
name = name;
plugin = value;

inherit grass;
};
}
)
plugins;

# QGIS
qgis-python =
Expand Down Expand Up @@ -314,6 +331,7 @@

# Applications
grass
grass-plugins
qgis
qgis-unwrapped
qgis-ltr
Expand All @@ -326,6 +344,9 @@
nixGL;
}

# GRASS plugins
// grass-plugins

# QGIS plugins
// qgis-plugins
// qgis-ltr-plugins
Expand Down
1 change: 1 addition & 0 deletions pkgs/grass/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
plugins.xml
Loading

0 comments on commit 7a035fb

Please sign in to comment.