about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorAaron L. Zeng <me@bcc32.com>2021-01-24 13:28:12 -0500
committerVincent Laporte <Vincent.Laporte@gmail.com>2021-01-30 11:37:36 +0100
commitf58c4e236f92df8d7887ce3450a3989f80ae1f6c (patch)
tree74211a05af9fad2b289e13b66c7e507b872db363 /pkgs/development/ocaml-modules
parentfce29131f5ed81d3072d14086def4b29d52f4ea7 (diff)
downloadnixlib-f58c4e236f92df8d7887ce3450a3989f80ae1f6c.tar
nixlib-f58c4e236f92df8d7887ce3450a3989f80ae1f6c.tar.gz
nixlib-f58c4e236f92df8d7887ce3450a3989f80ae1f6c.tar.bz2
nixlib-f58c4e236f92df8d7887ce3450a3989f80ae1f6c.tar.lz
nixlib-f58c4e236f92df8d7887ce3450a3989f80ae1f6c.tar.xz
nixlib-f58c4e236f92df8d7887ce3450a3989f80ae1f6c.tar.zst
nixlib-f58c4e236f92df8d7887ce3450a3989f80ae1f6c.zip
ocamlPackages.postgresql: init at 4.6.3
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/postgresql/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/postgresql/default.nix b/pkgs/development/ocaml-modules/postgresql/default.nix
new file mode 100644
index 000000000000..82875dbd8b33
--- /dev/null
+++ b/pkgs/development/ocaml-modules/postgresql/default.nix
@@ -0,0 +1,24 @@
+{ lib, fetchFromGitHub, buildDunePackage, postgresql }:
+
+buildDunePackage rec {
+  pname = "postgresql";
+  version = "4.6.3";
+
+  minimumOCamlVersion = "4.08";
+
+  src = fetchFromGitHub {
+    owner = "mmottl";
+    repo = "postgresql-ocaml";
+    rev = version;
+    sha256 = "0fd96qqwkwjhv6pawk4wivwncszkif0sq05f0g5gd28jzwrsvpqr";
+  };
+
+  buildInputs = [ postgresql ];
+
+  meta = {
+    description = "Bindings to the PostgreSQL library";
+    license = lib.licenses.lgpl21Plus;
+    maintainers = with lib.maintainers; [ bcc32 ];
+    homepage = "https://mmottl.github.io/postgresql-ocaml";
+  };
+}