diff options
author | sternenseemann <git@lukasepple.de> | 2020-05-17 12:00:32 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2020-06-26 12:14:03 +0200 |
commit | 034395d0e57aff1732d5ba8e8d563495e7edd06b (patch) | |
tree | d88da105752e8e76ea85d821cb9d2db9f8c37f6f /pkgs/development/ocaml-modules/opam-core | |
parent | cd8e099ffeee27d229371f4e8cba1a8b155e2a48 (diff) |
ocamlPackages.opam-core: init at 2.0.7
Diffstat (limited to 'pkgs/development/ocaml-modules/opam-core')
-rw-r--r-- | pkgs/development/ocaml-modules/opam-core/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/opam-core/default.nix b/pkgs/development/ocaml-modules/opam-core/default.nix new file mode 100644 index 000000000000..22c1ecdf7032 --- /dev/null +++ b/pkgs/development/ocaml-modules/opam-core/default.nix @@ -0,0 +1,20 @@ +{ lib, buildDunePackage, unzip +, opam, ocamlgraph, re, cppo }: + +buildDunePackage rec { + pname = "opam-core"; + + inherit (opam) src version; + + nativeBuildInputs = [ unzip cppo ]; + propagatedBuildInputs = [ ocamlgraph re ]; + + # get rid of check for curl at configure time + # opam-core does not call curl at run time + configureFlags = [ "--disable-checks" ]; + + meta = opam.meta // { + description = "Small standard library extensions, and generic system interaction modules used by opam"; + maintainers = with lib.maintainers; [ sternenseemann ]; + }; +} |