diff options
Diffstat (limited to 'pkgs/desktops/gnome/apps')
-rw-r--r-- | pkgs/desktops/gnome/apps/accerciser/default.nix | 78 | ||||
-rw-r--r-- | pkgs/desktops/gnome/apps/cheese/default.nix | 108 | ||||
-rw-r--r-- | pkgs/desktops/gnome/apps/file-roller/default.nix | 79 | ||||
-rw-r--r-- | pkgs/desktops/gnome/apps/ghex/default.nix | 87 | ||||
-rw-r--r-- | pkgs/desktops/gnome/apps/gnome-boxes/default.nix | 3 | ||||
-rw-r--r-- | pkgs/desktops/gnome/apps/gnome-calendar/default.nix | 67 | ||||
-rw-r--r-- | pkgs/desktops/gnome/apps/gnome-clocks/default.nix | 108 | ||||
-rw-r--r-- | pkgs/desktops/gnome/apps/gnome-notes/default.nix | 3 | ||||
-rw-r--r-- | pkgs/desktops/gnome/apps/gnome-weather/default.nix | 3 | ||||
-rw-r--r-- | pkgs/desktops/gnome/apps/seahorse/default.nix | 115 | ||||
-rw-r--r-- | pkgs/desktops/gnome/apps/vinagre/default.nix | 6 |
11 files changed, 68 insertions, 589 deletions
diff --git a/pkgs/desktops/gnome/apps/accerciser/default.nix b/pkgs/desktops/gnome/apps/accerciser/default.nix deleted file mode 100644 index b8f5d153467e9..0000000000000 --- a/pkgs/desktops/gnome/apps/accerciser/default.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ lib -, fetchurl -, pkg-config -, gnome -, gtk3 -, wrapGAppsHook3 -, gobject-introspection -, itstool -, libxml2 -, python3 -, at-spi2-core -, dbus -, gettext -, libwnck -, adwaita-icon-theme -, librsvg -}: - -python3.pkgs.buildPythonApplication rec { - pname = "accerciser"; - version = "3.42.0"; - - format = "other"; - - src = fetchurl { - url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "d2m9T09j3ImhQ+hs3ET+rr1/jJab6lwfWoaskxGQL0g="; - }; - - nativeBuildInputs = [ - gettext - gobject-introspection # For setup hook - itstool - libxml2 - pkg-config - dbus - wrapGAppsHook3 - ]; - - buildInputs = [ - adwaita-icon-theme - at-spi2-core - gtk3 - libwnck - librsvg - ]; - - propagatedBuildInputs = with python3.pkgs; [ - ipython - pyatspi - pycairo - pygobject3 - setuptools - ]; - - dontWrapGApps = true; - - preFixup = '' - makeWrapperArgs+=("''${gappsWrapperArgs[@]}") - ''; - - passthru = { - updateScript = gnome.updateScript { - packageName = "accerciser"; - attrPath = "gnome.accerciser"; - versionPolicy = "odd-unstable"; - }; - }; - - meta = with lib; { - homepage = "https://gitlab.gnome.org/GNOME/accerciser"; - description = "Interactive Python accessibility explorer"; - mainProgram = "accerciser"; - maintainers = teams.gnome.members; - license = licenses.bsd3; - platforms = platforms.linux; - }; -} diff --git a/pkgs/desktops/gnome/apps/cheese/default.nix b/pkgs/desktops/gnome/apps/cheese/default.nix deleted file mode 100644 index 9dd578438c502..0000000000000 --- a/pkgs/desktops/gnome/apps/cheese/default.nix +++ /dev/null @@ -1,108 +0,0 @@ -{ lib -, stdenv -, gettext -, fetchurl -, wrapGAppsHook3 -, gnome-video-effects -, libcanberra-gtk3 -, pkg-config -, gtk3 -, glib -, clutter-gtk -, clutter-gst -, gst_all_1 -, itstool -, vala -, docbook_xml_dtd_43 -, docbook-xsl-nons -, appstream-glib -, libxslt -, gtk-doc -, adwaita-icon-theme -, librsvg -, totem -, gdk-pixbuf -, gnome -, gnome-desktop -, libxml2 -, meson -, ninja -, dbus -, pipewire -}: - -stdenv.mkDerivation rec { - pname = "cheese"; - version = "44.1"; - - outputs = [ "out" "man" "devdoc" ]; - - src = fetchurl { - url = "mirror://gnome/sources/cheese/${lib.versions.major version}/${pname}-${version}.tar.xz"; - sha256 = "XyGFxMmeVN3yuLr2DIKBmVDlSVLhMuhjmHXz7cv49o4="; - }; - - nativeBuildInputs = [ - appstream-glib - docbook_xml_dtd_43 - docbook-xsl-nons - gettext - gtk-doc - itstool - libxml2 - libxslt # for xsltproc - meson - ninja - pkg-config - vala - wrapGAppsHook3 - glib # for glib-compile-schemas - ]; - - buildInputs = [ - adwaita-icon-theme - clutter-gst - clutter-gtk - dbus - gdk-pixbuf - glib - gnome-desktop - gnome-video-effects - gst_all_1.gst-plugins-bad - gst_all_1.gst-plugins-base - gst_all_1.gst-plugins-good - gst_all_1.gstreamer - gtk3 - libcanberra-gtk3 - librsvg - pipewire # PipeWire provides a gstreamer plugin for using PipeWire for video - ]; - - preFixup = '' - gappsWrapperArgs+=( - # Effects - --prefix XDG_DATA_DIRS : "${gnome-video-effects}/share" - # vp8enc preset - --prefix GST_PRESET_PATH : "${gst_all_1.gst-plugins-good}/share/gstreamer-1.0/presets" - # Thumbnailers - --prefix XDG_DATA_DIRS : "${gdk-pixbuf}/share" - --prefix XDG_DATA_DIRS : "${totem}/share" - ) - ''; - - passthru = { - updateScript = gnome.updateScript { - packageName = "cheese"; - attrPath = "gnome.cheese"; - }; - }; - - meta = with lib; { - homepage = "https://gitlab.gnome.org/GNOME/cheese"; - description = "Take photos and videos with your webcam, with fun graphical effects"; - mainProgram = "cheese"; - maintainers = teams.gnome.members; - license = licenses.gpl2Plus; - platforms = platforms.linux; - }; -} diff --git a/pkgs/desktops/gnome/apps/file-roller/default.nix b/pkgs/desktops/gnome/apps/file-roller/default.nix deleted file mode 100644 index d1af3b91db88c..0000000000000 --- a/pkgs/desktops/gnome/apps/file-roller/default.nix +++ /dev/null @@ -1,79 +0,0 @@ -{ lib -, stdenv -, fetchurl -, desktop-file-utils -, gettext -, glibcLocales -, itstool -, libxml2 -, meson -, ninja -, pkg-config -, python3 -, wrapGAppsHook4 -, cpio -, glib -, gnome -, gtk4 -, libadwaita -, libhandy -, json-glib -, libarchive -, libportal-gtk4 -, nautilus -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "file-roller"; - version = "44.3"; - - src = fetchurl { - url = "mirror://gnome/sources/file-roller/${lib.versions.major finalAttrs.version}/file-roller-${finalAttrs.version}.tar.xz"; - hash = "sha256-BMinRiX+yEJn/exAMGr7QQS9My2FBh4NNtSrBTOt+ko="; - }; - - nativeBuildInputs = [ - desktop-file-utils - gettext - glibcLocales - itstool - libxml2 - meson - ninja - pkg-config - python3 - wrapGAppsHook4 - ]; - - buildInputs = [ - cpio - glib - gtk4 - libadwaita - libhandy - json-glib - libarchive - libportal-gtk4 - nautilus - ]; - - postPatch = '' - patchShebangs data/set-mime-type-entry.py - ''; - - passthru = { - updateScript = gnome.updateScript { - packageName = "file-roller"; - attrPath = "gnome.file-roller"; - }; - }; - - meta = with lib; { - homepage = "https://gitlab.gnome.org/GNOME/file-roller"; - description = "Archive manager for the GNOME desktop environment"; - license = licenses.gpl2Plus; - platforms = platforms.linux; - maintainers = teams.gnome.members ++ teams.pantheon.members; - mainProgram = "file-roller"; - }; -}) diff --git a/pkgs/desktops/gnome/apps/ghex/default.nix b/pkgs/desktops/gnome/apps/ghex/default.nix deleted file mode 100644 index f58ca108e9056..0000000000000 --- a/pkgs/desktops/gnome/apps/ghex/default.nix +++ /dev/null @@ -1,87 +0,0 @@ -{ stdenv -, lib -, fetchurl -, pkg-config -, gi-docgen -, meson -, ninja -, gnome -, desktop-file-utils -, appstream-glib -, gettext -, itstool -, libxml2 -, gtk4 -, libadwaita -, glib -, atk -, gobject-introspection -, vala -, wrapGAppsHook4 -}: - -stdenv.mkDerivation rec { - pname = "ghex"; - version = "46.0"; - - outputs = [ "out" "dev" "devdoc" ]; - - src = fetchurl { - url = "mirror://gnome/sources/ghex/${lib.versions.major version}/${pname}-${version}.tar.xz"; - hash = "sha256-ocRvMCDLNYuDIwJds6U5yX2ZSkxG9wH0jtxjV/f7y9E="; - }; - - nativeBuildInputs = [ - desktop-file-utils - gettext - itstool - meson - ninja - pkg-config - gi-docgen - gobject-introspection - vala - wrapGAppsHook4 - ]; - - buildInputs = [ - gtk4 - libadwaita - atk - glib - ]; - - nativeCheckInputs = [ - appstream-glib - desktop-file-utils - ]; - - mesonFlags = [ - "-Dgtk_doc=true" - "-Dvapi=true" - ] ++ lib.optionals stdenv.isDarwin [ - # mremap does not exist on darwin - "-Dmmap-buffer-backend=false" - ]; - - postFixup = '' - # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back. - moveToOutput "share/doc" "$devdoc" - ''; - - passthru = { - updateScript = gnome.updateScript { - packageName = "ghex"; - attrPath = "gnome.${pname}"; - }; - }; - - meta = with lib; { - homepage = "https://gitlab.gnome.org/GNOME/ghex"; - description = "Hex editor for GNOME desktop environment"; - mainProgram = "ghex"; - platforms = platforms.linux; - license = licenses.gpl2Plus; - maintainers = teams.gnome.members; - }; -} diff --git a/pkgs/desktops/gnome/apps/gnome-boxes/default.nix b/pkgs/desktops/gnome/apps/gnome-boxes/default.nix index 2ef940122af0a..613dbe758f24b 100644 --- a/pkgs/desktops/gnome/apps/gnome-boxes/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-boxes/default.nix @@ -26,6 +26,7 @@ , gdbm , cyrus_sasl , gnome +, adwaita-icon-theme , librsvg , desktop-file-utils , mtools @@ -90,7 +91,7 @@ stdenv.mkDerivation rec { glib glib-networking gmp - gnome.adwaita-icon-theme + adwaita-icon-theme gtk3 json-glib libapparmor diff --git a/pkgs/desktops/gnome/apps/gnome-calendar/default.nix b/pkgs/desktops/gnome/apps/gnome-calendar/default.nix deleted file mode 100644 index d56c8114bd041..0000000000000 --- a/pkgs/desktops/gnome/apps/gnome-calendar/default.nix +++ /dev/null @@ -1,67 +0,0 @@ -{ stdenv -, lib -, fetchurl -, meson -, ninja -, pkg-config -, wrapGAppsHook4 -, libgweather -, geoclue2 -, gettext -, libxml2 -, gnome -, gtk4 -, evolution-data-server-gtk4 -, libical -, libsoup_3 -, glib -, gsettings-desktop-schemas -, libadwaita -}: - -stdenv.mkDerivation rec { - pname = "gnome-calendar"; - version = "46.1"; - - src = fetchurl { - url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; - hash = "sha256-mGH/e4q9W3sgaQulXrdULH7FNLVmJp4ptbHoWMFhCJc="; - }; - - nativeBuildInputs = [ - meson - ninja - pkg-config - gettext - libxml2 - wrapGAppsHook4 - ]; - - buildInputs = [ - gtk4 - evolution-data-server-gtk4 - libical - libsoup_3 - glib - libgweather - geoclue2 - gsettings-desktop-schemas - libadwaita - ]; - - passthru = { - updateScript = gnome.updateScript { - packageName = pname; - attrPath = "gnome.${pname}"; - }; - }; - - meta = with lib; { - homepage = "https://apps.gnome.org/Calendar/"; - description = "Simple and beautiful calendar application for GNOME"; - mainProgram = "gnome-calendar"; - maintainers = teams.gnome.members; - license = licenses.gpl3Plus; - platforms = platforms.unix; - }; -} diff --git a/pkgs/desktops/gnome/apps/gnome-clocks/default.nix b/pkgs/desktops/gnome/apps/gnome-clocks/default.nix index 5bdbe12f705a0..6a9eb730ec416 100644 --- a/pkgs/desktops/gnome/apps/gnome-clocks/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-clocks/default.nix @@ -1,34 +1,35 @@ -{ stdenv -, lib -, fetchurl -, meson -, ninja -, gettext -, pkg-config -, wrapGAppsHook4 -, itstool -, desktop-file-utils -, vala -, libxml2 -, gtk4 -, glib -, sound-theme-freedesktop -, gsettings-desktop-schemas -, gnome-desktop -, geocode-glib_2 -, gnome -, gdk-pixbuf -, geoclue2 -, libgweather -, libadwaita +{ + stdenv, + lib, + fetchurl, + meson, + ninja, + gettext, + pkg-config, + wrapGAppsHook4, + itstool, + desktop-file-utils, + vala, + libxml2, + gtk4, + glib, + gsettings-desktop-schemas, + gnome-desktop, + geocode-glib_2, + gnome, + gdk-pixbuf, + geoclue2, + gst_all_1, + libgweather, + libadwaita, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "gnome-clocks"; version = "46.0"; src = fetchurl { - url = "mirror://gnome/sources/gnome-clocks/${lib.versions.major version}/${pname}-${version}.tar.xz"; + url = "mirror://gnome/sources/gnome-clocks/${lib.versions.major finalAttrs.version}/gnome-clocks-${finalAttrs.version}.tar.xz"; hash = "sha256-6qPFeM3O+XVOZotWJnCbc/NSZxAjX0tyB20v9JpPmcc="; }; @@ -44,24 +45,24 @@ stdenv.mkDerivation rec { libxml2 ]; - buildInputs = [ - gtk4 - glib - gsettings-desktop-schemas - gdk-pixbuf - gnome-desktop - geocode-glib_2 - geoclue2 - libgweather - libadwaita - ]; - - preFixup = '' - gappsWrapperArgs+=( - # Fallback sound theme - --prefix XDG_DATA_DIRS : "${sound-theme-freedesktop}/share" - ) - ''; + buildInputs = + [ + gtk4 + glib + gsettings-desktop-schemas + gdk-pixbuf + gnome-desktop + geocode-glib_2 + geoclue2 + libgweather + libadwaita + ] + ++ (with gst_all_1; [ + # GStreamer plugins needed for Alarms + gstreamer + gst-plugins-base + gst-plugins-good + ]); doCheck = true; @@ -72,12 +73,21 @@ stdenv.mkDerivation rec { }; }; - meta = with lib; { + meta = { homepage = "https://apps.gnome.org/Clocks/"; - description = "Clock application designed for GNOME 3"; + description = "A simple and elegant clock application for GNOME"; + longDescription = '' + A simple and elegant clock application. It includes world clocks, alarms, + a stopwatch, and timers. + + - Show the time in different cities around the world + - Set alarms to wake you up + - Measure elapsed time with an accurate stopwatch + - Set timers to properly cook your food + ''; mainProgram = "gnome-clocks"; - maintainers = teams.gnome.members; - license = licenses.gpl2Plus; - platforms = platforms.unix; + maintainers = lib.teams.gnome.members; + license = lib.licenses.gpl2Plus; + platforms = lib.platforms.unix; }; -} +}) diff --git a/pkgs/desktops/gnome/apps/gnome-notes/default.nix b/pkgs/desktops/gnome/apps/gnome-notes/default.nix index dd474567196e0..eb3e67a47a69b 100644 --- a/pkgs/desktops/gnome/apps/gnome-notes/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-notes/default.nix @@ -20,6 +20,7 @@ , libhandy , webkitgtk , gnome +, adwaita-icon-theme , libxml2 , gsettings-desktop-schemas , tracker @@ -74,7 +75,7 @@ stdenv.mkDerivation rec { gnome-online-accounts gsettings-desktop-schemas evolution-data-server - gnome.adwaita-icon-theme + adwaita-icon-theme ]; mesonFlags = [ diff --git a/pkgs/desktops/gnome/apps/gnome-weather/default.nix b/pkgs/desktops/gnome/apps/gnome-weather/default.nix index f614094d623bf..6f0f2e1d439c7 100644 --- a/pkgs/desktops/gnome/apps/gnome-weather/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-weather/default.nix @@ -4,6 +4,7 @@ , desktop-file-utils , pkg-config , gnome +, adwaita-icon-theme , gtk4 , libadwaita , wrapGAppsHook4 @@ -42,7 +43,7 @@ stdenv.mkDerivation rec { libadwaita gjs libgweather - gnome.adwaita-icon-theme + adwaita-icon-theme geoclue2 gsettings-desktop-schemas ]; diff --git a/pkgs/desktops/gnome/apps/seahorse/default.nix b/pkgs/desktops/gnome/apps/seahorse/default.nix deleted file mode 100644 index 4cbc455c3da94..0000000000000 --- a/pkgs/desktops/gnome/apps/seahorse/default.nix +++ /dev/null @@ -1,115 +0,0 @@ -{ stdenv -, lib -, fetchpatch -, fetchurl -, vala -, meson -, ninja -, libpwquality -, pkg-config -, gtk3 -, glib -, glib-networking -, wrapGAppsHook3 -, itstool -, gnupg -, desktop-file-utils -, libsoup_3 -, gnome -, gpgme -, python3 -, openldap -, gcr -, libsecret -, avahi -, p11-kit -, openssh -, gsettings-desktop-schemas -, libhandy -}: - -stdenv.mkDerivation rec { - pname = "seahorse"; - version = "43.0"; - - src = fetchurl { - url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; - hash = "sha256-Wx0b+6dPNlgifzyC4pbzMN0PzR70Y2tqIYIo/uXqgy0="; - }; - - patches = [ - (fetchpatch { - name = "gpg-2.4.patch"; - url = "https://gitlab.gnome.org/GNOME/seahorse/-/commit/9260c74779be3d7a378db0671af862ffa3573d42.patch"; - hash = "sha256-4QiFgH4jC1ucmA9fFozUQZ3Mat76SgpYkMpRz80RH64="; - }) - ]; - - nativeBuildInputs = [ - meson - ninja - pkg-config - vala - itstool - wrapGAppsHook3 - python3 - openssh - gnupg - desktop-file-utils - gcr - ]; - - buildInputs = [ - gtk3 - glib - glib-networking - gcr - gsettings-desktop-schemas - gpgme - libsecret - avahi - libsoup_3 - p11-kit - openldap - libpwquality - libhandy - ]; - - doCheck = true; - - postPatch = '' - patchShebangs build-aux/gpg_check_version.py - ''; - - preCheck = '' - # Add “org.gnome.crypto.pgp” GSettings schema to path - # to make it available for “gpgme-backend” test. - # It is used by Seahorse’s internal “common” library. - addToSearchPath XDG_DATA_DIRS "${glib.getSchemaDataDirPath gcr}" - # The same test also requires home directory so that it can store settings. - export HOME=$TMPDIR - ''; - - preFixup = '' - gappsWrapperArgs+=( - # Pick up icons from Gcr - --prefix XDG_DATA_DIRS : "${gcr}/share" - ) - ''; - - passthru = { - updateScript = gnome.updateScript { - packageName = pname; - attrPath = "gnome.${pname}"; - }; - }; - - meta = with lib; { - homepage = "https://gitlab.gnome.org/GNOME/seahorse"; - description = "Application for managing encryption keys and passwords in the GnomeKeyring"; - mainProgram = "seahorse"; - maintainers = teams.gnome.members; - license = licenses.gpl2Plus; - platforms = platforms.linux; - }; -} diff --git a/pkgs/desktops/gnome/apps/vinagre/default.nix b/pkgs/desktops/gnome/apps/vinagre/default.nix index 72c1f7b3226c3..636426ac2f37e 100644 --- a/pkgs/desktops/gnome/apps/vinagre/default.nix +++ b/pkgs/desktops/gnome/apps/vinagre/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, fetchpatch, pkg-config, gtk3, gnome, vte, libxml2, gtk-vnc, intltool +{ lib, stdenv, fetchurl, fetchpatch, pkg-config, gtk3, gnome, adwaita-icon-theme, vte, libxml2, gtk-vnc, intltool , libsecret, itstool, wrapGAppsHook3, librsvg }: stdenv.mkDerivation rec { @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config intltool itstool wrapGAppsHook3 ]; buildInputs = [ - gtk3 vte libxml2 gtk-vnc libsecret gnome.adwaita-icon-theme librsvg + gtk3 vte libxml2 gtk-vnc libsecret adwaita-icon-theme librsvg ]; env.NIX_CFLAGS_COMPILE = "-Wno-format-nonliteral"; @@ -39,7 +39,7 @@ stdenv.mkDerivation rec { mainProgram = "vinagre"; homepage = "https://gitlab.gnome.org/Archive/vinagre"; license = licenses.gpl2Plus; - maintainers = teams.gnome.members; + maintainers = [ ]; platforms = platforms.unix; }; } |