blob: 57bde79a2172737dcb5e05da377d08bd0f23f1e1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{ pkgs }:
with pkgs;
rec {
nodeEnv = import ./node-env.nix;
fetchedGithub = path:
let
json = lib.importJSON path;
in rec {
version = json.tag;
pname = json.meta.name;
name = "${pname}-${version}";
src = fetchFromGitHub json.github;
};
} // (if builtins.pathExists ./private then callPackage ./private {} else {})
|