ocamlPackages.opam-file-format: init at 2.0.0-rc2 (#41164)
This commit is contained in:
parent
29f75982a6
commit
5509528c2c
25
pkgs/development/ocaml-modules/opam-file-format/default.nix
Normal file
25
pkgs/development/ocaml-modules/opam-file-format/default.nix
Normal file
@ -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;
|
||||||
|
};
|
||||||
|
}
|
@ -519,6 +519,8 @@ let
|
|||||||
|
|
||||||
omd = callPackage ../development/ocaml-modules/omd { };
|
omd = callPackage ../development/ocaml-modules/omd { };
|
||||||
|
|
||||||
|
opam-file-format = callPackage ../development/ocaml-modules/opam-file-format { };
|
||||||
|
|
||||||
otfm = callPackage ../development/ocaml-modules/otfm { };
|
otfm = callPackage ../development/ocaml-modules/otfm { };
|
||||||
|
|
||||||
otr = callPackage ../development/ocaml-modules/otr { };
|
otr = callPackage ../development/ocaml-modules/otr { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user