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

pkgs: add grass-addons package #490

Merged
merged 1 commit into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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