diff options
author | Vincent Laporte <vbgl@users.noreply.github.com> | 2018-05-28 23:33:00 +0200 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-05-28 23:33:00 +0200 |
commit | 5509528c2c166c2b2d40b0191e06de7dd5ae8b49 (patch) | |
tree | ed6c7c758b26a281d0a4ebf0c0109ea8b02c4e35 /pkgs/development/ocaml-modules/opam-file-format | |
parent | 29f75982a675d8395777150a281648d9d53b5704 (diff) | |
download | nixlib-5509528c2c166c2b2d40b0191e06de7dd5ae8b49.tar nixlib-5509528c2c166c2b2d40b0191e06de7dd5ae8b49.tar.gz nixlib-5509528c2c166c2b2d40b0191e06de7dd5ae8b49.tar.bz2 nixlib-5509528c2c166c2b2d40b0191e06de7dd5ae8b49.tar.lz nixlib-5509528c2c166c2b2d40b0191e06de7dd5ae8b49.tar.xz nixlib-5509528c2c166c2b2d40b0191e06de7dd5ae8b49.tar.zst nixlib-5509528c2c166c2b2d40b0191e06de7dd5ae8b49.zip |
ocamlPackages.opam-file-format: init at 2.0.0-rc2 (#41164)
Diffstat (limited to 'pkgs/development/ocaml-modules/opam-file-format')
-rw-r--r-- | pkgs/development/ocaml-modules/opam-file-format/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/opam-file-format/default.nix b/pkgs/development/ocaml-modules/opam-file-format/default.nix new file mode 100644 index 000000000000..1dec7e36e1c9 --- /dev/null +++ b/pkgs/development/ocaml-modules/opam-file-format/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub, ocaml, findlib }: + +stdenv.mkDerivation rec { + version = "2.0.0-rc2"; + name = "ocaml${ocaml.version}-opam-file-format-${version}"; + + src = fetchFromGitHub { + owner = "ocaml"; + repo = "opam-file-format"; + rev = "${version}"; + sha256 = "05g0pikmifmfkwyws5x82fglgsz3d317yfn6nrz7zmpn22cirvir"; + }; + + buildInputs = [ ocaml findlib ]; + + installFlags = [ "LIBDIR=$(OCAMLFIND_DESTDIR)" ]; + + meta = { + description = "Parser and printer for the opam file syntax"; + license = stdenv.lib.licenses.lgpl21; + maintainers = [ stdenv.lib.maintainers.vbgl ]; + inherit (src.meta) homepage; + inherit (ocaml.meta) platforms; + }; +} |