tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
ocaml-jingoo: add initial version (1.2.7) to the system
Eric Merritt
10 years ago
96775f04
c7ba42a5
+28
2 changed files
expand all
collapse all
unified
split
pkgs
development
ocaml-modules
jingoo
default.nix
top-level
all-packages.nix
+23
pkgs/development/ocaml-modules/jingoo/default.nix
···
1
1
+
{stdenv, buildOcaml, fetchurl, batteries, pcre}:
2
2
+
3
3
+
buildOcaml rec {
4
4
+
name = "jingoo";
5
5
+
version = "1.2.7";
6
6
+
7
7
+
src = fetchurl {
8
8
+
url = "https://github.com/tategakibunko/jingoo/archive/v${version}.tar.gz";
9
9
+
sha256 = "8ffc5723d77b323a12761981d048c046af77db47543a4b1076573aa5f4003009";
10
10
+
};
11
11
+
12
12
+
propagatedBuildInputs = [ batteries pcre ];
13
13
+
14
14
+
preInstall = "mkdir -p $out/bin";
15
15
+
installFlags = "BINDIR=$(out)/bin";
16
16
+
17
17
+
meta = with stdenv.lib; {
18
18
+
homepage = https://github.com/tategakibunko/jingoo;
19
19
+
description = "OCaml template engine almost compatible with jinja2";
20
20
+
license = licenses.mit;
21
21
+
maintainers = [ maintainers.ericbmerritt ];
22
22
+
};
23
23
+
}
+5
pkgs/top-level/all-packages.nix
···
4202
4202
4203
4203
hex = callPackage ../development/ocaml-modules/hex { };
4204
4204
4205
4205
+
jingoo = callPackage ../development/ocaml-modules/jingoo {
4206
4206
+
batteries = ocaml_batteries;
4207
4207
+
pcre = ocaml_pcre;
4208
4208
+
};
4209
4209
+
4205
4210
js_of_ocaml = callPackage ../development/tools/ocaml/js_of_ocaml { };
4206
4211
4207
4212
jsonm = callPackage ../development/ocaml-modules/jsonm { };