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

Commit

Permalink
grass-plugins: build one package per plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
imincik committed May 23, 2024
1 parent fb9b54d commit 9c58334
Show file tree
Hide file tree
Showing 7 changed files with 2,430 additions and 125 deletions.
25 changes: 20 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,22 @@
inherit gdal geos pdal proj;
};

grass-addons = pkgs.callPackage ./pkgs/grass/addons.nix {
inherit grass;
};

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 @@ -309,7 +321,7 @@

# Applications
grass
grass-addons
grass-plugins
qgis
qgis-unwrapped
qgis-ltr
Expand All @@ -322,6 +334,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
120 changes: 0 additions & 120 deletions pkgs/grass/addons.nix

This file was deleted.

Loading

0 comments on commit 9c58334

Please sign in to comment.