Refactor packages into modular structure under packages/ directory

Co-authored-by: dwinkler1 <22460147+dwinkler1@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-01-19 05:06:39 +00:00
commit c365b44ff2
7 changed files with 116 additions and 75 deletions

20
packages/s/summclust.nix Normal file
View file

@ -0,0 +1,20 @@
{
prev,
fetchfromGitHubJSONFile,
versionsDir,
}:
prev.rPackages.buildRPackage {
name = "summclust";
src = fetchfromGitHubJSONFile "${versionsDir}/summclust.json";
propagatedBuildInputs = builtins.attrValues {
inherit
(prev.rPackages)
dreamerr
MASS
collapse
generics
cli
rlang
;
};
}

10
packages/s/synthdid.nix Normal file
View file

@ -0,0 +1,10 @@
{
prev,
fetchfromGitHubJSONFile,
versionsDir,
}:
prev.rPackages.buildRPackage {
name = "synthdid";
src = fetchfromGitHubJSONFile "${versionsDir}/synthdid.json";
propagatedBuildInputs = [prev.rPackages.mvtnorm];
}