Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildDunePackage, unzip, opam-core, opam-file-format }:
2
3buildDunePackage rec {
4 pname = "opam-format";
5
6 useDune2 = true;
7
8 inherit (opam-core) src version;
9
10 minimumOCamlVersion = "4.02.3";
11
12 # get rid of check for curl at configure time
13 # opam-format does not call curl at run time
14 configureFlags = [ "--disable-checks" ];
15
16 nativeBuildInputs = [ unzip ];
17 propagatedBuildInputs = [ opam-core opam-file-format ];
18
19 meta = opam-core.meta // {
20 description = "Definition of opam datastructures and its file interface";
21 maintainers = with lib.maintainers; [ sternenseemann ];
22 };
23}