mirror of
https://github.com/dwinkler1/fran.git
synced 2026-02-19 22:50:59 -05:00
Refactor packages into modular structure under packages/ directory
Co-authored-by: dwinkler1 <22460147+dwinkler1@users.noreply.github.com>
This commit is contained in:
parent
f812c40980
commit
c365b44ff2
7 changed files with 116 additions and 75 deletions
29
packages/default.nix
Normal file
29
packages/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
final,
|
||||
prev,
|
||||
}:
|
||||
let
|
||||
# Shared helper function to fetch from GitHub using JSON version files
|
||||
fetchfromGitHubJSONFile = path: prev.fetchFromGitHub (builtins.fromJSON (builtins.readFile path));
|
||||
|
||||
# Reference to the versions directory at the repo root
|
||||
versionsDir = ../versions;
|
||||
|
||||
# Common arguments passed to all package modules
|
||||
commonArgs = {
|
||||
inherit final prev fetchfromGitHubJSONFile versionsDir;
|
||||
};
|
||||
in {
|
||||
## F
|
||||
fwildclusterboot = import ./f/fwildclusterboot.nix commonArgs;
|
||||
|
||||
## H
|
||||
httpgd = import ./h/httpgd.nix commonArgs;
|
||||
|
||||
## M
|
||||
musicMetadata = import ./m/musicMetadata.nix commonArgs;
|
||||
|
||||
## S
|
||||
summclust = import ./s/summclust.nix commonArgs;
|
||||
synthdid = import ./s/synthdid.nix commonArgs;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue