2020-05-20 22:26:32 +01:00
|
|
|
{ lib, buildDunePackage, unzip, opam-core, opam-file-format }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "opam-format";
|
|
|
|
|
2020-12-06 17:45:19 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-05-20 22:26:32 +01:00
|
|
|
inherit (opam-core) src version;
|
|
|
|
|
|
|
|
minimumOCamlVersion = "4.02.3";
|
|
|
|
|
|
|
|
# get rid of check for curl at configure time
|
|
|
|
# opam-format does not call curl at run time
|
|
|
|
configureFlags = [ "--disable-checks" ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ unzip ];
|
|
|
|
propagatedBuildInputs = [ opam-core opam-file-format ];
|
|
|
|
|
|
|
|
meta = opam-core.meta // {
|
|
|
|
description = "Definition of opam datastructures and its file interface";
|
|
|
|
maintainers = with lib.maintainers; [ sternenseemann ];
|
|
|
|
};
|
|
|
|
}
|