depot/third_party/nixpkgs/pkgs/development/tools/ejs/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

34 lines
663 B
Nix

{ lib
, buildNpmPackage
, fetchFromGitHub
}:
buildNpmPackage rec {
pname = "ejs";
version = "3.1.9";
src = fetchFromGitHub {
owner = "mde";
repo = "ejs";
rev = "v${version}";
hash = "sha256-bOZclhsnV3onxc32ZGfLpuGS5Jz6S12/BmkmwL4M6Dg=";
};
npmDepsHash = "sha256-829eWfJiMw9KRlhdmzD0ha//bgUQ5nPEzO+ayUPLxXY=";
buildPhase = ''
runHook preBuild
./node_modules/.bin/jake build
runHook postBuild
'';
meta = {
description = "Embedded JavaScript templates";
homepage = "http://ejs.co";
license = lib.licenses.asl20;
mainProgram = "ejs";
maintainers = with lib.maintainers; [ wolfangaukang ];
};
}