mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
22 lines
589 B
Nix
22 lines
589 B
Nix
|
{ 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 ];
|
||
|
};
|
||
|
}
|