diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2020-07-29 11:13:35 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2020-08-05 11:39:18 +0200 |
commit | 07e3aab0095f215f574a9639e85ad95cd82297d7 (patch) | |
tree | 9a588ae154a771c415807260a25916af33298edb /pkgs/development/ocaml-modules/mustache | |
parent | 36626150c2409f42b38a60b64490a7a2b17b168d (diff) | |
download | nixpkgs-07e3aab0095f215f574a9639e85ad95cd82297d7.tar nixpkgs-07e3aab0095f215f574a9639e85ad95cd82297d7.tar.gz nixpkgs-07e3aab0095f215f574a9639e85ad95cd82297d7.tar.bz2 nixpkgs-07e3aab0095f215f574a9639e85ad95cd82297d7.tar.lz nixpkgs-07e3aab0095f215f574a9639e85ad95cd82297d7.tar.xz nixpkgs-07e3aab0095f215f574a9639e85ad95cd82297d7.tar.zst nixpkgs-07e3aab0095f215f574a9639e85ad95cd82297d7.zip |
ocamlPackages.mustache: init at 3.1.0
mustache.js logic-less templates in OCaml
Diffstat (limited to 'pkgs/development/ocaml-modules/mustache')
-rw-r--r-- | pkgs/development/ocaml-modules/mustache/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/mustache/default.nix b/pkgs/development/ocaml-modules/mustache/default.nix new file mode 100644 index 00000000000..267aa17e9e4 --- /dev/null +++ b/pkgs/development/ocaml-modules/mustache/default.nix @@ -0,0 +1,25 @@ +{ lib, buildDunePackage, fetchFromGitHub, ezjsonm, menhir, ounit }: + +buildDunePackage rec { + pname = "mustache"; + version = "3.1.0"; + src = fetchFromGitHub { + owner = "rgrinberg"; + repo = "ocaml-mustache"; + rev = "v${version}"; + sha256 = "19v8rk8d8lkfm2rmhdawfgadji6wa267ir5dprh4w9l1sfj8a1py"; + }; + + buildInputs = [ ezjsonm ]; + propagatedBuildInputs = [ menhir ]; + + doCheck = true; + checkInputs = [ ounit ]; + + meta = { + description = "Mustache logic-less templates in OCaml"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.vbgl ]; + inherit (src.meta) homepage; + }; +} |