ejs: init at 3.1.9
This commit is contained in:
parent
e39a92683b
commit
846fcf2cd0
34
pkgs/development/tools/ejs/default.nix
Normal file
34
pkgs/development/tools/ejs/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
@ -1711,6 +1711,8 @@ with pkgs;
|
||||
|
||||
crypto-tracker = callPackage ../tools/misc/crypto-tracker { };
|
||||
|
||||
ejs = callPackage ../development/tools/ejs { };
|
||||
|
||||
ejson2env = callPackage ../tools/admin/ejson2env { };
|
||||
|
||||
davinci-resolve = callPackage ../applications/video/davinci-resolve { };
|
||||
|
Loading…
Reference in New Issue
Block a user