blob: b9242836b62be04d276cb364aaafb41f2031dd9d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 = [ ];
};
}
|