1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 12:28:51 +00:00
nixpkgs/pkgs/development/ocaml-modules/opam-file-format/default.nix

26 lines
671 B
Nix

{ 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;
};
}