32 , gobject-introspection
38 gda = libgdamm.override {
40 postgresSupport = true;
42 python = python3.withPackages (pkgs: with pkgs; [ pygobject3 ]);
43 sphinx-build = python3.pkgs.sphinx.overrideAttrs (super: {
44 postFixup = super.postFixup or "" + ''
45 # Do not propagate Python
46 rm $out/nix-support/propagated-build-inputs
49 boost_python = boost.override { enablePython = true; inherit python; };
50 in stdenv.mkDerivation rec {
54 outputs = [ "out" "lib" "dev" "doc" "devdoc" ];
57 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
58 sha256 = "1wcd4kd3crwqjv0jfp73jkyyf5ws8mvykg37kqxmcb58piz21gsk";
74 gobject-introspection # for setup hook
93 python3.pkgs.pygobject3
96 postgresql_15 # for postgresql utils
99 enableParallelBuilding = true;
101 preConfigure = "NOCONFIGURE=1 ./autogen.sh";
104 "--with-boost-python=boost_python${lib.versions.major python3.version}${lib.versions.minor python3.version}"
105 "--with-postgres-utils=${lib.getBin postgresql_15}/bin"
109 "libdocdir=${placeholder "doc"}/share/doc/$(book_name)"
110 "devhelpdir=${placeholder "devdoc"}/share/devhelp/books/$(book_name)"
113 # Fontconfig error: Cannot load default config file
114 FONTCONFIG_FILE = makeFontsConf {
115 fontDirectories = [ freefont_ttf ];
120 --prefix PYTHONPATH : "${placeholder "out"}/${python3.sitePackages}"
121 --set PYTHONHOME "${python}"
126 description = "An easy-to-use database designer and user interface";
127 homepage = "http://www.glom.org/";
128 license = [ licenses.lgpl2 licenses.gpl2 ];
129 maintainers = teams.gnome.members;
130 platforms = platforms.linux;