erpnext-nix/node/frappe-modules.nix

22 lines
458 B
Nix

{ mkYarnPackage
, fetchFromGitHub
, fetchYarnDeps
}:
mkYarnPackage {
pname = "frappe-modules";
version = "14.36.1";
src = import ../srcs/frappe.nix {inherit fetchFromGitHub; };
packageJSON = ../frappe-package.json;
yarnFlags = [ "--production" ];
offlineCache = fetchYarnDeps {
yarnLock = "$src/yarn.lock";
hash = "sha256-PBdMUz9gJIoQaqQYbdk+xnd8CyZPmdeyz/9WznCb4Ss=";
};
# Do not attempt generating a tarball
doDist = false;
}