2018-12-02 21:21:07 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glibmm, libgda, libxml2, gnome3
|
2019-06-16 19:59:06 +00:00
|
|
|
, mysqlSupport ? false
|
|
|
|
, postgresSupport ? false }:
|
2018-12-02 21:21:07 +00:00
|
|
|
|
|
|
|
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";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.gnome-db.org/";
|
2018-12-02 21:21:07 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
2020-04-01 12:40:51 +00:00
|
|
|
maintainers = teams.gnome.members;
|
2018-12-02 21:21:07 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|