2021-06-06 01:00:15 +01:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage }:
|
2018-05-28 22:33:00 +01:00
|
|
|
|
2021-01-21 14:21:29 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "opam-file-format";
|
2021-06-06 01:00:15 +01:00
|
|
|
version = "2.1.3";
|
2018-05-28 22:33:00 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ocaml";
|
2021-01-21 14:21:29 +00:00
|
|
|
repo = pname;
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2021-06-06 01:00:15 +01:00
|
|
|
sha256 = "1fxhppdmrysr2nb5z3c448h17np48f3ga9jih33acj78r4rdblcs";
|
2018-05-28 22:33:00 +01:00
|
|
|
};
|
|
|
|
|
2021-06-06 01:00:15 +01:00
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2018-05-28 22:33:00 +01:00
|
|
|
description = "Parser and printer for the opam file syntax";
|
2021-06-06 01:00:15 +01:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
|
|
|
homepage = "https://github.com/ocaml/opam-file-format/";
|
2018-05-28 22:33:00 +01:00
|
|
|
};
|
|
|
|
}
|