mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
Merge pull request #111597 from jtojnar/ligda6
This commit is contained in:
commit
27689bf551
@ -38,7 +38,15 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://wiki.gnome.org/Apps/Yelp";
|
||||
description = "Yelp's universal stylesheets for Mallard and DocBook";
|
||||
maintainers = teams.gnome.members;
|
||||
license = [licenses.gpl2 licenses.lgpl2];
|
||||
platforms = platforms.linux;
|
||||
license = with licenses; [
|
||||
# See https://gitlab.gnome.org/GNOME/yelp-xsl/blob/master/COPYING
|
||||
# Stylesheets
|
||||
lgpl2Plus
|
||||
# Icons, unclear: https://gitlab.gnome.org/GNOME/yelp-xsl/issues/25
|
||||
gpl2
|
||||
# highlight.js
|
||||
bsd3
|
||||
];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
92
pkgs/development/libraries/libgda/6.x.nix
Normal file
92
pkgs/development/libraries/libgda/6.x.nix
Normal file
@ -0,0 +1,92 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, intltool
|
||||
, meson
|
||||
, ninja
|
||||
, itstool
|
||||
, libxml2
|
||||
, python3
|
||||
, gtk3
|
||||
, json-glib
|
||||
, isocodes
|
||||
, openssl
|
||||
, gnome3
|
||||
, gobject-introspection
|
||||
, vala
|
||||
, libgee
|
||||
, sqlite
|
||||
, gtk-doc
|
||||
, yelp-tools
|
||||
, mysqlSupport ? false
|
||||
, libmysqlclient ? null
|
||||
, postgresSupport ? false
|
||||
, postgresql ? null
|
||||
}:
|
||||
|
||||
assert mysqlSupport -> libmysqlclient != null;
|
||||
assert postgresSupport -> postgresql != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libgda";
|
||||
version = "6.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0w564z7krgjk19r39mi5qn4kggpdg9ggbyn9pb4aavb61r14npwr";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
intltool
|
||||
meson
|
||||
ninja
|
||||
itstool
|
||||
libxml2
|
||||
python3
|
||||
gobject-introspection
|
||||
vala
|
||||
gtk-doc
|
||||
yelp-tools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
json-glib
|
||||
isocodes
|
||||
openssl
|
||||
libgee
|
||||
sqlite
|
||||
] ++ lib.optionals mysqlSupport [
|
||||
libmysqlclient
|
||||
] ++ lib.optionals postgresSupport [
|
||||
postgresql
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs \
|
||||
providers/raw_spec.py \
|
||||
providers/mysql/gen_bin.py
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = pname;
|
||||
attrPath = "libgda6";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Database access library";
|
||||
homepage = "https://www.gnome-db.org/";
|
||||
license = with licenses; [
|
||||
# library
|
||||
lgpl2Plus
|
||||
# CLI tools
|
||||
gpl2Plus
|
||||
];
|
||||
maintainers = teams.gnome.members;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -1,7 +1,27 @@
|
||||
{ lib, stdenv, fetchurl, pkg-config, intltool, itstool, libxml2, gtk3, openssl, gnome3, gobject-introspection, vala, libgee
|
||||
, overrideCC, gcc6, fetchpatch, autoreconfHook, gtk-doc, autoconf-archive, yelp-tools
|
||||
, mysqlSupport ? false, libmysqlclient ? null
|
||||
, postgresSupport ? false, postgresql ? null
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, intltool
|
||||
, itstool
|
||||
, libxml2
|
||||
, gtk3
|
||||
, openssl
|
||||
, gnome3
|
||||
, gobject-introspection
|
||||
, vala
|
||||
, libgee
|
||||
, overrideCC
|
||||
, gcc6
|
||||
, fetchpatch
|
||||
, autoreconfHook
|
||||
, gtk-doc
|
||||
, autoconf-archive
|
||||
, yelp-tools
|
||||
, mysqlSupport ? false
|
||||
, libmysqlclient ? null
|
||||
, postgresSupport ? false
|
||||
, postgresql ? null
|
||||
}:
|
||||
|
||||
assert mysqlSupport -> libmysqlclient != null;
|
||||
@ -24,7 +44,30 @@ assert postgresSupport -> postgresql != null;
|
||||
})
|
||||
];
|
||||
|
||||
configureFlags = with lib; [
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
intltool
|
||||
itstool
|
||||
libxml2
|
||||
gobject-introspection
|
||||
vala
|
||||
autoreconfHook
|
||||
gtk-doc
|
||||
autoconf-archive
|
||||
yelp-tools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
openssl
|
||||
libgee
|
||||
] ++ lib.optionals mysqlSupport [
|
||||
libmysqlclient
|
||||
] ++ lib.optionals postgresSupport [
|
||||
postgresql
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--with-mysql=${if mysqlSupport then "yes" else "no"}"
|
||||
"--with-postgres=${if postgresSupport then "yes" else "no"}"
|
||||
|
||||
@ -40,11 +83,6 @@ assert postgresSupport -> postgresql != null;
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config intltool itstool libxml2 gobject-introspection vala autoreconfHook gtk-doc autoconf-archive yelp-tools ];
|
||||
buildInputs = with lib; [ gtk3 openssl libgee ]
|
||||
++ optional (mysqlSupport) libmysqlclient
|
||||
++ optional (postgresSupport) postgresql;
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = pname;
|
||||
@ -54,8 +92,13 @@ assert postgresSupport -> postgresql != null;
|
||||
meta = with lib; {
|
||||
description = "Database access library";
|
||||
homepage = "https://www.gnome-db.org/";
|
||||
license = [ licenses.lgpl2 licenses.gpl2 ];
|
||||
license = with licenses; [
|
||||
# library
|
||||
lgpl2Plus
|
||||
# CLI tools
|
||||
gpl2Plus
|
||||
];
|
||||
maintainers = teams.gnome.members;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,12 @@
|
||||
{ lib, stdenv, fetchurl, libxml2, libxslt, itstool, gnome3, pkg-config }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, libxml2
|
||||
, libxslt
|
||||
, itstool
|
||||
, gnome3
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "yelp-tools";
|
||||
@ -9,22 +17,30 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1c045c794sm83rrjan67jmsk20qacrw1m814p4nw85w5xsry8z30";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libxml2
|
||||
libxslt
|
||||
itstool
|
||||
gnome3.yelp-xsl
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = pname;
|
||||
};
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ libxml2 libxslt itstool gnome3.yelp-xsl ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://wiki.gnome.org/Apps/Yelp/Tools";
|
||||
description = "Small programs that help you create, edit, manage, and publish your Mallard or DocBook documentation";
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.gnome.members ++ (with maintainers; [ domenkozar ]);
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -14753,6 +14753,8 @@ in
|
||||
|
||||
libgda = callPackage ../development/libraries/libgda { };
|
||||
|
||||
libgda6 = callPackage ../development/libraries/libgda/6.x.nix { };
|
||||
|
||||
libgdamm = callPackage ../development/libraries/libgdamm { };
|
||||
|
||||
libgdata = callPackage ../development/libraries/libgdata { };
|
||||
|
Loading…
Reference in New Issue
Block a user