d226cb4541
Since <https://github.com/NixOS/nixpkgs/pull/109143> has been merged, switching opam-file-format doesn't create a cyclical dependency of opam-file-format -> dune -> opaline -> opam-file-format anymore. Thus we switch to dune which seems to be supported better by upstream and doesn't require us to patch the 2.1.2 release.
23 lines
494 B
Nix
23 lines
494 B
Nix
{ lib, buildDunePackage, fetchFromGitHub }:
|
|
|
|
buildDunePackage rec {
|
|
version = "2.1.2";
|
|
pname = "opam-file-format";
|
|
|
|
useDune2 = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ocaml";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "19xppn2s3yjid8jc1wh8gdf5mgmlpzby2cf2slmnbyrgln3vj6i2";
|
|
};
|
|
|
|
meta = {
|
|
description = "Parser and printer for the opam file syntax";
|
|
license = lib.licenses.lgpl21;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
inherit (src.meta) homepage;
|
|
};
|
|
}
|