2021-06-28 23:13:55 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "opam-file-format";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "2.1.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocaml";
|
2021-02-05 17:12:51 +00:00
|
|
|
repo = pname;
|
2020-04-24 23:36:52 +00:00
|
|
|
rev = version;
|
2022-06-16 17:23:12 +00:00
|
|
|
sha256 = "sha256-wnAnvLNOc9FRBdLIFR08OKVaIjSEqJrcCIn4hmtYtjY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Parser and printer for the opam file syntax";
|
2021-06-28 23:13:55 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
|
|
|
homepage = "https://github.com/ocaml/opam-file-format/";
|
2022-06-16 17:23:12 +00:00
|
|
|
changelog = "https://github.com/ocaml/opam-file-format/raw/${version}/CHANGES";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|