2021-06-06 00:00:15 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage }:
|
2018-05-28 21:33:00 +00:00
|
|
|
|
2021-01-21 14:21:29 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "opam-file-format";
|
2023-05-03 06:23:03 +00:00
|
|
|
version = "2.1.6";
|
2018-05-28 21:33:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocaml";
|
2021-01-21 14:21:29 +00:00
|
|
|
repo = pname;
|
2019-09-08 23:38:31 +00:00
|
|
|
rev = version;
|
2023-05-03 06:23:03 +00:00
|
|
|
sha256 = "sha256-Ka9pMYB99kM+5X7wf9F13gUrjouZucGevvkSY0TaXGg=";
|
2018-05-28 21:33:00 +00:00
|
|
|
};
|
|
|
|
|
2021-06-06 00:00:15 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2018-05-28 21:33:00 +00:00
|
|
|
description = "Parser and printer for the opam file syntax";
|
2021-06-06 00:00:15 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
|
|
|
homepage = "https://github.com/ocaml/opam-file-format/";
|
2022-05-25 04:20:00 +00:00
|
|
|
changelog = "https://github.com/ocaml/opam-file-format/raw/${version}/CHANGES";
|
2018-05-28 21:33:00 +00:00
|
|
|
};
|
|
|
|
}
|