Skip to content

Commit

Permalink
Add npmlock2nix
Browse files Browse the repository at this point in the history
  • Loading branch information
gilligan committed Nov 24, 2020
1 parent 124071f commit 3c81220
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nix/pkgs/default.nix
Expand Up @@ -141,11 +141,12 @@ let
};

# Collect everything to be exported under `plutus.lib`: builders/functions/utils
lib = {
lib = rec {
haddock-combine = pkgs.callPackage ../lib/haddock-combine.nix { inherit sphinxcontrib-haddock; };
latex = pkgs.callPackage ../lib/latex.nix { };
npmlock2nix = (import sources.npmlock2nix {});
buildPursPackage = pkgs.callPackage ../lib/purescript.nix {
inherit easyPS nodejs-headers;
inherit easyPS nodejs-headers npmlock2nix;
};
};

Expand Down
12 changes: 12 additions & 0 deletions nix/sources.json
Expand Up @@ -95,6 +95,18 @@
"url": "https://nodejs.org/download/release/v12.19.0/node-v12.19.0-headers.tar.gz",
"url_template": "https://nodejs.org/download/release/<rev>/node-<rev>-headers.tar.gz"
},
"npmlock2nix": {
"branch": "remove-path-assert",
"description": null,
"homepage": null,
"owner": "tweag",
"repo": "npmlock2nix",
"rev": "5d06a72115e7807f96c19f445ad8b1a20af49e59",
"sha256": "0az11kpjfsb57bx9rhmfzg179gplk7y4i5872sra0ssq1dzlpb7g",
"type": "tarball",
"url": "https://github.com/tweag/npmlock2nix/archive/5d06a72115e7807f96c19f445ad8b1a20af49e59.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"pre-commit-hooks.nix": {
"branch": "master",
"builtin": false,
Expand Down

0 comments on commit 3c81220

Please sign in to comment.