nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchurl,
4 buildDunePackage,
5 menhir,
6}:
7
8buildDunePackage (finalAttrs: {
9 pname = "opam-file-format";
10 version = "2.2.0";
11
12 src = fetchurl {
13 url = "https://github.com/ocaml/opam-file-format/releases/download/${finalAttrs.version}/opam-file-format-${finalAttrs.version}.tar.gz";
14 hash = "sha256-SrU1Cw3L1EwFmrDFnYE2jzSvdwccDmXYHGpbm/ql6Ck=";
15 };
16
17 nativeBuildInputs = [ menhir ];
18
19 meta = {
20 description = "Parser and printer for the opam file syntax";
21 license = lib.licenses.lgpl21;
22 maintainers = with lib.maintainers; [ vbgl ];
23 homepage = "https://github.com/ocaml/opam-file-format/";
24 changelog = "https://github.com/ocaml/opam-file-format/raw/${finalAttrs.version}/CHANGES";
25 };
26})