From ca3f1c20d7fb0847fbcc8e9eb9c6436efbf9f62a Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 23 Jul 2019 19:26:54 +0000 Subject: ocamlPackages.toml: init at 5.0.0 --- pkgs/development/ocaml-modules/toml/default.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pkgs/development/ocaml-modules/toml/default.nix (limited to 'pkgs/development/ocaml-modules') diff --git a/pkgs/development/ocaml-modules/toml/default.nix b/pkgs/development/ocaml-modules/toml/default.nix new file mode 100644 index 000000000000..0e25d9bc6b65 --- /dev/null +++ b/pkgs/development/ocaml-modules/toml/default.nix @@ -0,0 +1,24 @@ +{ lib, fetchFromGitHub, buildDunePackage +, iso8601, menhir +}: + +buildDunePackage rec { + pname = "toml"; + version = "5.0.0"; + src = fetchFromGitHub { + owner = "ocaml-toml"; + repo = "to.ml"; + rev = "v${version}"; + sha256 = "1505kwcwklcfaxw8wckajm8kc6yrlikmxyhi8f8cpvhlw9ys90nj"; + }; + + buildInputs = [ menhir ]; + propagatedBuildInputs = [ iso8601 ]; + + meta = { + description = "Implementation in OCaml of the Toml minimal langage"; + homepage = "http://ocaml-toml.github.io/To.ml"; + license = lib.licenses.lgpl3; + maintainers = [ lib.maintainers.vbgl ]; + }; +} -- cgit 1.4.1