2021-01-21 14:21:29 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub }:
|
2018-05-28 22:33:00 +01:00
|
|
|
|
2021-01-21 14:21:29 +00:00
|
|
|
buildDunePackage rec {
|
2020-12-06 16:48:18 +00:00
|
|
|
version = "2.1.2";
|
2021-01-21 14:21:29 +00:00
|
|
|
pname = "opam-file-format";
|
|
|
|
|
|
|
|
useDune2 = true;
|
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;
|
2020-12-06 16:48:18 +00:00
|
|
|
sha256 = "19xppn2s3yjid8jc1wh8gdf5mgmlpzby2cf2slmnbyrgln3vj6i2";
|
2018-05-28 22:33:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Parser and printer for the opam file syntax";
|
2021-01-11 12:49:15 +00:00
|
|
|
license = lib.licenses.lgpl21;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2018-05-28 22:33:00 +01:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
|
|
|
}
|