summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/opam-core
diff options
context:
space:
mode:
authorsternenseemann <git@lukasepple.de>2020-05-17 12:00:32 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2020-06-26 12:14:03 +0200
commit034395d0e57aff1732d5ba8e8d563495e7edd06b (patch)
treed88da105752e8e76ea85d821cb9d2db9f8c37f6f /pkgs/development/ocaml-modules/opam-core
parentcd8e099ffeee27d229371f4e8cba1a8b155e2a48 (diff)
downloadnixpkgs-034395d0e57aff1732d5ba8e8d563495e7edd06b.tar
nixpkgs-034395d0e57aff1732d5ba8e8d563495e7edd06b.tar.gz
nixpkgs-034395d0e57aff1732d5ba8e8d563495e7edd06b.tar.bz2
nixpkgs-034395d0e57aff1732d5ba8e8d563495e7edd06b.tar.lz
nixpkgs-034395d0e57aff1732d5ba8e8d563495e7edd06b.tar.xz
nixpkgs-034395d0e57aff1732d5ba8e8d563495e7edd06b.tar.zst
nixpkgs-034395d0e57aff1732d5ba8e8d563495e7edd06b.zip
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.nix20
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 00000000000..22c1ecdf703
--- /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 ];
+  };
+}