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