17 , gobject-introspection
23 , mysqlSupport ? false
24 , libmysqlclient ? null
25 , postgresSupport ? false
29 assert mysqlSupport -> libmysqlclient != null;
30 assert postgresSupport -> postgresql != null;
32 stdenv.mkDerivation rec {
37 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
38 sha256 = "0w564z7krgjk19r39mi5qn4kggpdg9ggbyn9pb4aavb61r14npwr";
42 # Fix undefined behavior
44 url = "https://gitlab.gnome.org/GNOME/libgda/-/commit/657b2f8497da907559a6769c5b1d2d7b5bd40688.patch";
45 sha256 = "Qx4S9KQsTAr4M0QJi0Xr5kKuHSp4NwZJHoRPYyxIyTk=";
50 url = "https://gitlab.gnome.org/GNOME/libgda/-/commit/57f618a3b2a3758ee3dcbf9bbdc566122dd8566d.patch";
51 sha256 = "pyfymUd61m1kHaGyMbUQMma+szB8mlqGWwcFBBQawf8=";
76 ] ++ lib.optionals mysqlSupport [
78 ] ++ lib.optionals postgresSupport [
84 providers/raw_spec.py \
85 providers/mysql/gen_bin.py
89 updateScript = gnome.updateScript {
92 versionPolicy = "odd-unstable";
97 description = "Database access library";
98 homepage = "https://www.gnome-db.org/";
99 license = with licenses; [
105 maintainers = teams.gnome.members;
106 platforms = platforms.unix;