2021-05-07 23:18:14 +02:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, glibmm, libgda, libxml2, gnome
|
2019-06-16 21:59:06 +02:00
|
|
|
, mysqlSupport ? false
|
|
|
|
, postgresSupport ? false }:
|
2018-12-02 22:21:07 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
gda = libgda.override {
|
|
|
|
inherit mysqlSupport postgresSupport;
|
|
|
|
};
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
pname = "libgdamm";
|
|
|
|
version = "4.99.11";
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-21 18:00:13 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2018-12-02 22:21:07 +01:00
|
|
|
sha256 = "1fyh15b3f8hmwbswalxk1g4l04yvvybksn5nm7gznn5jl5q010p9";
|
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2018-12-02 22:21:07 +01:00
|
|
|
buildInputs = [ glibmm libxml2 ];
|
|
|
|
propagatedBuildInputs = [ gda ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
passthru = {
|
2021-05-07 23:18:14 +02:00
|
|
|
updateScript = gnome.updateScript {
|
2018-12-02 22:21:07 +01:00
|
|
|
packageName = pname;
|
2021-03-21 00:57:24 +01:00
|
|
|
versionPolicy = "odd-unstable";
|
2018-12-02 22:21:07 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-21 18:00:13 +01:00
|
|
|
meta = with lib; {
|
2018-12-02 22:21:07 +01:00
|
|
|
description = "C++ bindings for libgda";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.gnome-db.org/";
|
2018-12-02 22:21:07 +01:00
|
|
|
license = licenses.lgpl21Plus;
|
2020-04-01 14:40:51 +02:00
|
|
|
maintainers = teams.gnome.members;
|
2018-12-02 22:21:07 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|