diff options
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/folks/default.nix | 47 | ||||
-rw-r--r-- | pkgs/development/libraries/gcr/default.nix | 49 | ||||
-rw-r--r-- | pkgs/development/libraries/gnome-menus/default.nix | 22 | ||||
-rw-r--r-- | pkgs/development/libraries/gsound/default.nix | 28 | ||||
-rw-r--r-- | pkgs/development/libraries/gtkd/default.nix | 4 | ||||
-rw-r--r-- | pkgs/development/libraries/gvfs/default.nix | 2 | ||||
-rw-r--r-- | pkgs/development/libraries/libgdata/default.nix | 4 | ||||
-rw-r--r-- | pkgs/development/libraries/libgnomekbd/default.nix | 30 | ||||
-rw-r--r-- | pkgs/development/libraries/totem-pl-parser/default.nix | 28 | ||||
-rw-r--r-- | pkgs/development/libraries/vte/2.90.nix | 41 | ||||
-rw-r--r-- | pkgs/development/libraries/vte/default.nix | 51 | ||||
-rw-r--r-- | pkgs/development/libraries/vte/ng.nix | 18 |
12 files changed, 319 insertions, 5 deletions
diff --git a/pkgs/development/libraries/folks/default.nix b/pkgs/development/libraries/folks/default.nix new file mode 100644 index 000000000000..2ce50a92ea36 --- /dev/null +++ b/pkgs/development/libraries/folks/default.nix @@ -0,0 +1,47 @@ +{ fetchurl, stdenv, pkgconfig, glib, gnome3, nspr, intltool, gobject-introspection +, vala, sqlite, libxml2, dbus-glib, libsoup, nss, dbus, libgee +, telepathy-glib, evolution-data-server, libsecret, db }: + +# TODO: enable more folks backends + +stdenv.mkDerivation rec { + pname = "folks"; + version = "0.11.4"; + + src = fetchurl { + url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; + sha256 = "16hqh2gxlbx0b0hgq216hndr1m72vj54jvryzii9zqkk0g9kxc57"; + }; + + propagatedBuildInputs = [ glib libgee sqlite ]; + # dbus_daemon needed for tests + buildInputs = [ + dbus-glib telepathy-glib evolution-data-server dbus + libsecret libxml2 libsoup nspr nss db + ]; + nativeBuildInputs = [ pkgconfig intltool vala gobject-introspection ]; + + configureFlags = [ "--disable-fatal-warnings" ]; + + NIX_CFLAGS_COMPILE = ["-I${nss.dev}/include/nss" + "-I${dbus-glib.dev}/include/dbus-1.0" "-I${dbus.dev}/include/dbus-1.0"]; + + enableParallelBuilding = true; + + postBuild = "rm -rf $out/share/gtk-doc"; + + passthru = { + updateScript = gnome3.updateScript { + packageName = pname; + versionPolicy = "none"; + }; + }; + + meta = { + description = "A library that aggregates people from multiple sources to create metacontacts"; + homepage = https://wiki.gnome.org/Projects/Folks; + license = stdenv.lib.licenses.lgpl2Plus; + maintainers = gnome3.maintainers; + platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice + }; +} diff --git a/pkgs/development/libraries/gcr/default.nix b/pkgs/development/libraries/gcr/default.nix new file mode 100644 index 000000000000..56c52e1e3688 --- /dev/null +++ b/pkgs/development/libraries/gcr/default.nix @@ -0,0 +1,49 @@ +{ stdenv, fetchurl, pkgconfig, intltool, gnupg, p11-kit, glib +, libgcrypt, libtasn1, dbus-glib, gtk3, pango, gdk_pixbuf, atk +, gobject-introspection, makeWrapper, libxslt, vala, gnome3 +, python2 }: + +stdenv.mkDerivation rec { + pname = "gcr"; + version = "3.28.0"; + + src = fetchurl { + url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; + sha256 = "02xgky22xgvhgd525khqh64l5i21ca839fj9jzaqdi3yvb8pbq8m"; + }; + + passthru = { + updateScript = gnome3.updateScript { packageName = pname; }; + }; + + postPatch = '' + patchShebangs . + ''; + + outputs = [ "out" "dev" ]; + + nativeBuildInputs = [ pkgconfig intltool gobject-introspection libxslt makeWrapper vala ]; + + buildInputs = let + gpg = gnupg.override { guiSupport = false; }; # prevent build cycle with pinentry_gnome + in [ + gpg libgcrypt libtasn1 dbus-glib pango gdk_pixbuf atk + ]; + + propagatedBuildInputs = [ glib gtk3 p11-kit ]; + + checkInputs = [ python2 ]; + doCheck = false; # fails 21 out of 603 tests, needs dbus daemon + + #enableParallelBuilding = true; issues on hydra + + preFixup = '' + wrapProgram "$out/bin/gcr-viewer" \ + --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" + ''; + + meta = with stdenv.lib; { + platforms = platforms.linux; + maintainers = gnome3.maintainers; + }; +} diff --git a/pkgs/development/libraries/gnome-menus/default.nix b/pkgs/development/libraries/gnome-menus/default.nix new file mode 100644 index 000000000000..0538b8ec06be --- /dev/null +++ b/pkgs/development/libraries/gnome-menus/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, intltool, pkgconfig, glib, gobject-introspection }: + +stdenv.mkDerivation rec { + pname = "gnome-menus"; + version = "3.10.1"; + + src = fetchurl { + url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; + sha256 = "0wcacs1vk3pld8wvrwq7fdrm11i56nrajkrp6j1da6jc4yx0m5a6"; + }; + + makeFlags = "INTROSPECTION_GIRDIR=$(out)/share/gir-1.0/ INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0"; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ intltool glib gobject-introspection ]; + + meta = { + homepage = https://www.gnome.org; + description = "Library that implements freedesktops's Desktop Menu Specification in GNOME"; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/development/libraries/gsound/default.nix b/pkgs/development/libraries/gsound/default.nix new file mode 100644 index 000000000000..337a2472babd --- /dev/null +++ b/pkgs/development/libraries/gsound/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchurl, pkgconfig, glib, libcanberra, gobject-introspection, libtool, gnome3 }: + +stdenv.mkDerivation rec { + pname = "gsound"; + version = "1.0.2"; + + src = fetchurl { + url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; + sha256 = "bba8ff30eea815037e53bee727bbd5f0b6a2e74d452a7711b819a7c444e78e53"; + }; + + nativeBuildInputs = [ pkgconfig gobject-introspection libtool gnome3.vala ]; + buildInputs = [ glib libcanberra ]; + + passthru = { + updateScript = gnome3.updateScript { + packageName = pname; + }; + }; + + meta = with stdenv.lib; { + homepage = https://wiki.gnome.org/Projects/GSound; + description = "Small library for playing system sounds"; + maintainers = gnome3.maintainers; + license = licenses.gpl2; + platforms = platforms.linux; + }; +} diff --git a/pkgs/development/libraries/gtkd/default.nix b/pkgs/development/libraries/gtkd/default.nix index 66ba526f08e2..780b00f9d9a2 100644 --- a/pkgs/development/libraries/gtkd/default.nix +++ b/pkgs/development/libraries/gtkd/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchzip, atk, cairo, dmd, gdk_pixbuf, gnome3, gst_all_1, librsvg -, pango, pkgconfig, which }: +, pango, pkgconfig, which, vte }: stdenv.mkDerivation rec { name = "gtkd-${version}"; @@ -89,7 +89,7 @@ stdenv.mkDerivation rec { dontStrip = true; inherit atk cairo gdk_pixbuf librsvg pango; - inherit (gnome3) glib gtk3 gtksourceview libgda libpeas vte; + inherit (gnome3) glib gtk3 gtksourceview libgda libpeas; inherit (gst_all_1) gstreamer; gst_plugins_base = gst_all_1.gst-plugins-base; diff --git a/pkgs/development/libraries/gvfs/default.nix b/pkgs/development/libraries/gvfs/default.nix index 03f4b0fe687a..05f115804551 100644 --- a/pkgs/development/libraries/gvfs/default.nix +++ b/pkgs/development/libraries/gvfs/default.nix @@ -2,7 +2,7 @@ , glib, libgudev, udisks2, libgcrypt, libcap, polkit , libgphoto2, avahi, libarchive, fuse, libcdio , libxml2, libxslt, docbook_xsl, docbook_xml_dtd_42, samba, libmtp -, gnomeSupport ? false, gnome, makeWrapper +, gnomeSupport ? false, gnome, makeWrapper, gcr , libimobiledevice, libbluray, libcdio-paranoia, libnfs, openssh , libsecret, libgdata, python3 }: diff --git a/pkgs/development/libraries/libgdata/default.nix b/pkgs/development/libraries/libgdata/default.nix index b05468a478df..f22cc568a97c 100644 --- a/pkgs/development/libraries/libgdata/default.nix +++ b/pkgs/development/libraries/libgdata/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, intltool, libxml2, glib, json-glib +{ stdenv, fetchurl, pkgconfig, intltool, libxml2, glib, json-glib, gcr , gobject-introspection, liboauth, gnome3, p11-kit, openssl, uhttpmock }: stdenv.mkDerivation rec { @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { sha256 = "0fj54yqxdapdppisqm1xcyrpgcichdmipq0a0spzz6009ikzgi45"; }; - NIX_CFLAGS_COMPILE = "-I${gnome3.libsoup.dev}/include/libsoup-gnome-2.4/ -I${gnome3.gcr}/include/gcr-3 -I${gnome3.gcr}/include/gck-1"; + NIX_CFLAGS_COMPILE = "-I${gnome3.libsoup.dev}/include/libsoup-gnome-2.4/ -I${gcr}/include/gcr-3 -I${gcr}/include/gck-1"; nativeBuildInputs = [ pkgconfig intltool gobject-introspection ]; diff --git a/pkgs/development/libraries/libgnomekbd/default.nix b/pkgs/development/libraries/libgnomekbd/default.nix new file mode 100644 index 000000000000..20a9bb91604e --- /dev/null +++ b/pkgs/development/libraries/libgnomekbd/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchurl, pkgconfig, file, intltool, glib, gtk3, libxklavier, makeWrapper, gnome3 }: + +stdenv.mkDerivation rec { + pname = "libgnomekbd"; + version = "3.26.0"; + + src = fetchurl { + url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; + sha256 = "ea3b418c57c30615f7ee5b6f718def7c9d09ce34637324361150744258968875"; + }; + + passthru = { + updateScript = gnome3.updateScript { packageName = pname; }; + }; + + nativeBuildInputs = [ pkgconfig file intltool makeWrapper ]; + buildInputs = [ glib gtk3 libxklavier ]; + + preFixup = '' + wrapProgram $out/bin/gkbd-keyboard-display \ + --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" + ''; + + meta = with stdenv.lib; { + description = "Keyboard management library"; + maintainers = gnome3.maintainers; + license = licenses.gpl2; + platforms = platforms.linux; + }; +} diff --git a/pkgs/development/libraries/totem-pl-parser/default.nix b/pkgs/development/libraries/totem-pl-parser/default.nix new file mode 100644 index 000000000000..4c052a5c02f6 --- /dev/null +++ b/pkgs/development/libraries/totem-pl-parser/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, gmime, libxml2, gobject-introspection, gnome3 }: + +stdenv.mkDerivation rec { + pname = "totem-pl-parser"; + version = "3.26.1"; + + src = fetchurl { + url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; + sha256 = "0k5pnka907invgds48d73c1xx1a366v5dcld3gr2l1dgmjwc9qka"; + }; + + passthru = { + updateScript = gnome3.updateScript { + packageName = pname; + }; + }; + + nativeBuildInputs = [ meson ninja pkgconfig gettext gobject-introspection ]; + buildInputs = [ gmime libxml2 ]; + + meta = with stdenv.lib; { + homepage = https://wiki.gnome.org/Apps/Videos; + description = "Simple GObject-based library to parse and save a host of playlist formats"; + maintainers = gnome3.maintainers; + license = licenses.lgpl2; + platforms = platforms.linux; + }; +} diff --git a/pkgs/development/libraries/vte/2.90.nix b/pkgs/development/libraries/vte/2.90.nix new file mode 100644 index 000000000000..4b2b74c5e1d5 --- /dev/null +++ b/pkgs/development/libraries/vte/2.90.nix @@ -0,0 +1,41 @@ +{ stdenv, fetchurl, intltool, pkgconfig, gnome3, glib, gtk3, ncurses, gobject-introspection }: + +stdenv.mkDerivation rec { + versionMajor = "0.36"; + versionMinor = "3"; + moduleName = "vte"; + + name = "${moduleName}-${versionMajor}.${versionMinor}"; + + src = fetchurl { + url = "mirror://gnome/sources/${moduleName}/${versionMajor}/${name}.tar.xz"; + sha256 = "54e5b07be3c0f7b158302f54ee79d4de1cb002f4259b6642b79b1e0e314a959c"; + }; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ gobject-introspection intltool glib gtk3 ncurses ]; + + configureFlags = [ "--enable-introspection" ]; + + enableParallelBuilding = true; + + postInstall = '' + substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses.out}/lib -lncurses" + ''; + + meta = with stdenv.lib; { + homepage = https://www.gnome.org/; + description = "A library implementing a terminal emulator widget for GTK+"; + longDescription = '' + VTE is a library (libvte) implementing a terminal emulator widget for + GTK+, and a minimal sample application (vte) using that. Vte is + mainly used in gnome-terminal, but can also be used to embed a + console/terminal in games, editors, IDEs, etc. VTE supports Unicode and + character set conversion, as well as emulating any terminal known to + the system's terminfo database. + ''; + license = licenses.lgpl2; + maintainers = with maintainers; [ astsmtl antono lethalman ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/development/libraries/vte/default.nix b/pkgs/development/libraries/vte/default.nix new file mode 100644 index 000000000000..97bb961c4bc5 --- /dev/null +++ b/pkgs/development/libraries/vte/default.nix @@ -0,0 +1,51 @@ +{ stdenv, fetchurl, intltool, pkgconfig +, gnome3, glib, gtk3, ncurses, gobject-introspection, vala, libxml2, gnutls +, gperf, pcre2 +}: + +stdenv.mkDerivation rec { + pname = "vte"; + version = "0.54.3"; + + src = fetchurl { + url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; + sha256 = "1zgb8jgi6sr4km58zfml8zkm24qipbngl2h7s5razhi5a0a84dk9"; + }; + + passthru = { + updateScript = gnome3.updateScript { packageName = pname; }; + }; + + nativeBuildInputs = [ gobject-introspection intltool pkgconfig vala gperf libxml2 ]; + buildInputs = [ glib gtk3 ncurses ]; + + propagatedBuildInputs = [ + # Required by vte-2.91.pc. + gtk3 + gnutls + pcre2 + ]; + + preConfigure = "patchShebangs ."; + + configureFlags = [ "--enable-introspection" "--disable-Bsymbolic" ]; + + enableParallelBuilding = true; + + meta = with stdenv.lib; { + homepage = https://www.gnome.org/; + description = "A library implementing a terminal emulator widget for GTK+"; + longDescription = '' + VTE is a library (libvte) implementing a terminal emulator widget for + GTK+, and a minimal sample application (vte) using that. Vte is + mainly used in gnome-terminal, but can also be used to embed a + console/terminal in games, editors, IDEs, etc. VTE supports Unicode and + character set conversion, as well as emulating any terminal known to + the system's terminfo database. + ''; + license = licenses.lgpl2; + maintainers = with maintainers; [ astsmtl antono lethalman ]; + platforms = platforms.linux ++ platforms.darwin; + }; +} + diff --git a/pkgs/development/libraries/vte/ng.nix b/pkgs/development/libraries/vte/ng.nix new file mode 100644 index 000000000000..3aee9e9dcdf3 --- /dev/null +++ b/pkgs/development/libraries/vte/ng.nix @@ -0,0 +1,18 @@ +{ vte, fetchFromGitHub, autoconf, automake, gtk-doc, gettext, libtool, gperf }: + +vte.overrideAttrs (oldAttrs: rec { + name = "vte-ng-${version}"; + version = "0.50.2.a"; + + src = fetchFromGitHub { + owner = "thestinger"; + repo = "vte-ng"; + rev = version; + sha256 = "0i6hfzw9sq8521kz0l7lld2km56r0bfp1hw6kxq3j1msb8z8svcf"; + }; + + preConfigure = oldAttrs.preConfigure + "; NOCONFIGURE=1 ./autogen.sh"; + + nativeBuildInputs = oldAttrs.nativeBuildInputs or [] + ++ [ gtk-doc autoconf automake gettext libtool gperf ]; +}) |