diff options
author | Eric Merritt <eric@afiniate.com> | 2015-05-15 10:55:37 -0500 |
---|---|---|
committer | Eric Merritt <eric@afiniate.com> | 2015-05-25 10:16:43 -0700 |
commit | 96775f040250e7487d84a4fc85eae8a58ec35d53 (patch) | |
tree | 4cee12d64b953a19c6123143f049f1dc66c20cb8 /pkgs/development/ocaml-modules | |
parent | c7ba42a516d8480d783d7b723082a9e3b0d209d9 (diff) | |
download | nixpkgs-96775f040250e7487d84a4fc85eae8a58ec35d53.tar nixpkgs-96775f040250e7487d84a4fc85eae8a58ec35d53.tar.gz nixpkgs-96775f040250e7487d84a4fc85eae8a58ec35d53.tar.bz2 nixpkgs-96775f040250e7487d84a4fc85eae8a58ec35d53.tar.lz nixpkgs-96775f040250e7487d84a4fc85eae8a58ec35d53.tar.xz nixpkgs-96775f040250e7487d84a4fc85eae8a58ec35d53.tar.zst nixpkgs-96775f040250e7487d84a4fc85eae8a58ec35d53.zip |
ocaml-jingoo: add initial version (1.2.7) to the system
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/jingoo/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/jingoo/default.nix b/pkgs/development/ocaml-modules/jingoo/default.nix new file mode 100644 index 00000000000..4f42f51c16e --- /dev/null +++ b/pkgs/development/ocaml-modules/jingoo/default.nix @@ -0,0 +1,23 @@ +{stdenv, buildOcaml, fetchurl, batteries, pcre}: + +buildOcaml rec { + name = "jingoo"; + version = "1.2.7"; + + src = fetchurl { + url = "https://github.com/tategakibunko/jingoo/archive/v${version}.tar.gz"; + sha256 = "8ffc5723d77b323a12761981d048c046af77db47543a4b1076573aa5f4003009"; + }; + + propagatedBuildInputs = [ batteries pcre ]; + + preInstall = "mkdir -p $out/bin"; + installFlags = "BINDIR=$(out)/bin"; + + meta = with stdenv.lib; { + homepage = https://github.com/tategakibunko/jingoo; + description = "OCaml template engine almost compatible with jinja2"; + license = licenses.mit; + maintainers = [ maintainers.ericbmerritt ]; + }; +} |