2023-12-02 13:28:37 +00:00
|
|
|
# This file has been generated by node2nix 1.11.1. Do not edit!
|
|
|
|
|
|
|
|
{nodeEnv, fetchurl, fetchgit, nix-gitignore, stdenv, lib, globalBuildInputs ? []}:
|
|
|
|
|
|
|
|
let
|
2023-12-04 02:38:47 +00:00
|
|
|
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==";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-12-02 13:28:37 +00:00
|
|
|
args = {
|
2023-12-13 16:24:39 +00:00
|
|
|
name = "<APP>";
|
|
|
|
packageName = "<APP>";
|
2023-12-02 13:28:37 +00:00
|
|
|
version = "0.1.0";
|
|
|
|
src = ./.;
|
2023-12-04 02:38:47 +00:00
|
|
|
dependencies = [
|
|
|
|
sources."lodash-4.17.21"
|
|
|
|
];
|
2023-12-02 13:28:37 +00:00
|
|
|
buildInputs = globalBuildInputs;
|
|
|
|
meta = {
|
2023-12-04 02:38:47 +00:00
|
|
|
description = "";
|
|
|
|
license = "ISC";
|
2023-12-02 13:28:37 +00:00
|
|
|
};
|
|
|
|
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;";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
}
|