summary refs log tree commit diff
path: root/pkgs/development/libraries/libgdamm
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2018-12-02 22:21:07 +0100
committerJan Tojnar <jtojnar@gmail.com>2018-12-24 02:29:15 +0100
commit3ec683c85e62d640230eea8f910a767d31697677 (patch)
tree722ce4c46412126023771d76c8cc7c45dd78272f /pkgs/development/libraries/libgdamm
parent3d5025ba79da91bf387a52113dfa6fdc319251ef (diff)
downloadnixpkgs-3ec683c85e62d640230eea8f910a767d31697677.tar
nixpkgs-3ec683c85e62d640230eea8f910a767d31697677.tar.gz
nixpkgs-3ec683c85e62d640230eea8f910a767d31697677.tar.bz2
nixpkgs-3ec683c85e62d640230eea8f910a767d31697677.tar.lz
nixpkgs-3ec683c85e62d640230eea8f910a767d31697677.tar.xz
nixpkgs-3ec683c85e62d640230eea8f910a767d31697677.tar.zst
nixpkgs-3ec683c85e62d640230eea8f910a767d31697677.zip
libgdamm: init at 4.99.11
Diffstat (limited to 'pkgs/development/libraries/libgdamm')
-rw-r--r--pkgs/development/libraries/libgdamm/default.nix39
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libgdamm/default.nix b/pkgs/development/libraries/libgdamm/default.nix
new file mode 100644
index 00000000000..012400a49ab
--- /dev/null
+++ b/pkgs/development/libraries/libgdamm/default.nix
@@ -0,0 +1,39 @@
+{ stdenv, fetchurl, pkgconfig, glibmm, libgda, libxml2, gnome3
+, mysqlSupport ? false, mysql ? null
+, postgresSupport ? false, postgresql ? null }:
+
+let
+  gda = libgda.override {
+    inherit mysqlSupport postgresSupport;
+  };
+in stdenv.mkDerivation rec {
+  pname = "libgdamm";
+  version = "4.99.11";
+
+  outputs = [ "out" "dev" ];
+
+  src = fetchurl {
+    url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+    sha256 = "1fyh15b3f8hmwbswalxk1g4l04yvvybksn5nm7gznn5jl5q010p9";
+  };
+
+  nativeBuildInputs = [ pkgconfig ];
+  buildInputs = [ glibmm libxml2 ];
+  propagatedBuildInputs = [ gda ];
+
+  enableParallelBuilding = true;
+
+  passthru = {
+    updateScript = gnome3.updateScript {
+      packageName = pname;
+    };
+  };
+
+  meta = with stdenv.lib; {
+    description = "C++ bindings for libgda";
+    homepage = http://www.gnome-db.org/;
+    license = licenses.lgpl21Plus;
+    maintainers = gnome3.maintainers;
+    platforms = platforms.linux;
+  };
+}