aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/ocaml-modules/opam-format/default.nix
blob: 422729e6d0df7d2959897f2adbc6653de89ea7de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, buildDunePackage, unzip, opam-core, opam-file-format }:

buildDunePackage rec {
  pname = "opam-format";

  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 ];
  };
}