54 lines
1.4 KiB
Nix
54 lines
1.4 KiB
Nix
# This file has been generated by node2nix 1.11.1. Do not edit!
|
|
|
|
{nodeEnv, fetchurl, fetchgit, nix-gitignore, stdenv, lib, globalBuildInputs ? []}:
|
|
|
|
let
|
|
sources = {
|
|
"lodash-4.17.21" = {
|
|
name = "lodash";
|
|
packageName = "lodash";
|
|
version = "4.17.21";
|
|
src = fetchurl {
|
|
url = "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz";
|
|
sha512 = "v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==";
|
|
};
|
|
};
|
|
};
|
|
args = {
|
|
name = "<APP>";
|
|
packageName = "<APP>";
|
|
version = "0.1.0";
|
|
src = ./.;
|
|
dependencies = [
|
|
sources."lodash-4.17.21"
|
|
];
|
|
buildInputs = globalBuildInputs;
|
|
meta = {
|
|
description = "";
|
|
license = "ISC";
|
|
};
|
|
production = true;
|
|
bypassCache = true;
|
|
reconstructLock = false;
|
|
};
|
|
in
|
|
{
|
|
args = args;
|
|
sources = sources;
|
|
tarball = nodeEnv.buildNodeSourceDist args;
|
|
package = nodeEnv.buildNodePackage args;
|
|
shell = nodeEnv.buildNodeShell args;
|
|
nodeDependencies = nodeEnv.buildNodeDependencies (lib.overrideExisting args {
|
|
src = stdenv.mkDerivation {
|
|
name = args.name + "-package-json";
|
|
src = nix-gitignore.gitignoreSourcePure [
|
|
"*"
|
|
"!package.json"
|
|
"!package-lock.json"
|
|
] args.src;
|
|
dontBuild = true;
|
|
installPhase = "mkdir -p $out; cp -r ./* $out;";
|
|
};
|
|
});
|
|
}
|