9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
40 lines
978 B
Nix
40 lines
978 B
Nix
{ stdenv, fetchurl, pkg-config, glibmm, libgda, libxml2, gnome3
|
|
, mysqlSupport ? false
|
|
, postgresSupport ? false }:
|
|
|
|
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 = [ pkg-config ];
|
|
buildInputs = [ glibmm libxml2 ];
|
|
propagatedBuildInputs = [ gda ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = pname;
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "C++ bindings for libgda";
|
|
homepage = "https://www.gnome-db.org/";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = teams.gnome.members;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|