1{
2 lib,
3 fetchFromGitHub,
4 buildDunePackage,
5}:
6
7buildDunePackage rec {
8 pname = "opam-file-format";
9 version = "2.1.6";
10
11 src = fetchFromGitHub {
12 owner = "ocaml";
13 repo = pname;
14 rev = version;
15 sha256 = "sha256-Ka9pMYB99kM+5X7wf9F13gUrjouZucGevvkSY0TaXGg=";
16 };
17
18 useDune2 = true;
19
20 meta = with lib; {
21 description = "Parser and printer for the opam file syntax";
22 license = licenses.lgpl21;
23 maintainers = with maintainers; [ vbgl ];
24 homepage = "https://github.com/ocaml/opam-file-format/";
25 changelog = "https://github.com/ocaml/opam-file-format/raw/${version}/CHANGES";
26 };
27}