mirror of
https://github.com/dwinkler1/fran.git
synced 2026-02-19 22:50:59 -05:00
added jgd
This commit is contained in:
parent
fe5868d574
commit
c46bc7dea5
6 changed files with 79 additions and 14 deletions
25
packages/j/jgd.nix
Normal file
25
packages/j/jgd.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
lib,
|
||||
prev,
|
||||
fetchfromGitHubJSONFile,
|
||||
versionsDir,
|
||||
}: let
|
||||
repoSrc = fetchfromGitHubJSONFile "${versionsDir}/jgd.json";
|
||||
|
||||
rPkgSrc = lib.cleanSourceWith {
|
||||
src = repoSrc;
|
||||
filter = path: type: let
|
||||
p = toString path;
|
||||
in
|
||||
# keep r-pkg/ and everything under it
|
||||
(lib.hasPrefix (toString repoSrc + "/r-pkg") p);
|
||||
};
|
||||
in
|
||||
prev.rPackages.buildRPackage {
|
||||
name = "jgd";
|
||||
src = rPkgSrc;
|
||||
sourceRoot = "source/r-pkg";
|
||||
nativeBuildInputs = [
|
||||
prev.pkg-config
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue