aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/ocaml-modules/opam-core/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/opam-core/default.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/opam-core/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/opam-core/default.nix b/nixpkgs/pkgs/development/ocaml-modules/opam-core/default.nix
new file mode 100644
index 00000000000..22c1ecdf703
--- /dev/null
+++ b/nixpkgs/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 ];
+ };
+}