libdazzle: init at 3.28.0

This commit is contained in:
Andreas Rammhold 2017-12-31 15:47:05 +01:00 committed by Jan Tojnar
parent ee3f179fb6
commit 73244d10bb
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4
3 changed files with 58 additions and 1 deletions

View file

@ -55,7 +55,7 @@ let
inherit (pkgs) atk glib gobjectIntrospection gtk2 webkitgtk gtk3 gtkmm3 libcanberra-gtk2
libgtop libgudev libhttpseverywhere librsvg libsecret gdk_pixbuf gtksourceview gtksourceview4
easytag meld orca rhythmbox shotwell gnome-usage
clutter clutter-gst clutter-gtk cogl gtkvnc;
clutter clutter-gst clutter-gtk cogl gtkvnc libdazzle;
inherit (pkgs.gnome2) ORBit2;
libsoup = pkgs.libsoup.override { gnomeSupport = true; };

View file

@ -0,0 +1,55 @@
{ stdenv, pkgs, fetchurl, ninja, meson, pkgconfig, vala, gobjectIntrospection, libxml2
, gtk-doc, docbook_xsl, dbus, xvfb_run, glib, gtk3, gnome3 }:
let
version = "3.28.0";
pname = "libdazzle";
in
stdenv.mkDerivation {
name = "${pname}-${version}";
outputs = [ "out" "dev" "devdoc" ];
outputBin = "dev";
src = fetchurl {
url = "mirror://gnome/sources/libdazzle/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0zq37i7gnmnc7qfngzhj71nqhf2wxl4m247s2ym9ykakxbi6zajp";
};
nativeBuildInputs = [ ninja meson pkgconfig vala gobjectIntrospection libxml2 gtk-doc docbook_xsl dbus xvfb_run ];
buildInputs = [ glib gtk3 ];
mesonFlags = [
"-Denable_gtk_doc=true"
];
doCheck = true;
checkPhase = ''
export NO_AT_BRIDGE=1
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
meson test --print-errorlogs
'';
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
meta = with stdenv.lib; {
description = "A library to delight your users with fancy features";
longDescription = ''
The libdazzle library is a companion library to GObject and Gtk+. It
provides various features that we wish were in the underlying library but
cannot for various reasons. In most cases, they are wildly out of scope
for those libraries. In other cases, our design isn't quite generic
enough to work for everyone.
'';
homepage = https://wiki.gnome.org/Apps/Builder;
license = licenses.gpl3Plus;
maintainers = gnome3.maintainers;
platforms = platforms.unix;
};
}

View file

@ -9636,6 +9636,8 @@ with pkgs;
libdap = callPackage ../development/libraries/libdap { };
libdazzle = callPackage ../development/libraries/libdazzle { };
libdbi = callPackage ../development/libraries/libdbi { };
libdbiDriversBase = callPackage ../development/libraries/libdbi-drivers {