69698ec11c
* gnome3: only maintain single GNOME 3 package set GNOME 3 was split into 3.10 and 3.12 in #2694. Unfortunately, we barely have the resources to update a single version of GNOME. Maintaining multiple versions just does not make sense. Additionally, it makes viewing history using most Git tools bothersome. This commit renames `pkgs/desktops/gnome-3/3.24` to `pkgs/desktops/gnome-3`, removes the config variable for choosing packageset (`environment.gnome3.packageSet`), updates the hint in maintainer script, and removes the `gnome3_24` derivation from `all-packages.nix`. Closes: #29329 * maintainers/scripts/gnome: Use fixed GNOME 3 directory Since we now allow only a single GNOME 3 package set, specifying the working directory is not necessary. This commit sets the directory to `pkgs/desktops/gnome-3`.
36 lines
1.4 KiB
Nix
36 lines
1.4 KiB
Nix
{ stdenv, fetchurl, intltool, pkgconfig, gnome3, gtk3
|
|
, gobjectIntrospection, gdk_pixbuf, librsvg, libgweather, autoreconfHook
|
|
, geoclue2, wrapGAppsHook, folks, libchamplain, gfbgraph, file, libsoup
|
|
, webkitgtk }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
inherit (import ./src.nix fetchurl) name src;
|
|
|
|
doCheck = true;
|
|
|
|
buildInputs = [ pkgconfig intltool gobjectIntrospection wrapGAppsHook
|
|
gtk3 geoclue2 gnome3.gjs gnome3.libgee folks gfbgraph
|
|
gnome3.geocode_glib libchamplain file libsoup
|
|
gdk_pixbuf librsvg libgweather autoreconfHook
|
|
gnome3.gsettings_desktop_schemas gnome3.evolution_data_server
|
|
gnome3.gnome_online_accounts gnome3.defaultIconTheme
|
|
webkitgtk ];
|
|
|
|
# The .service file isn't wrapped with the correct environment
|
|
# so misses GIR files when started. By re-pointing from the gjs
|
|
# entry point to the wrapped binary we get back to a wrapped
|
|
# binary.
|
|
preConfigure = ''
|
|
substituteInPlace "data/org.gnome.Maps.service.in" \
|
|
--replace "Exec=@pkgdatadir@/org.gnome.Maps" \
|
|
"Exec=$out/bin/gnome-maps"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://wiki.gnome.org/Apps/Maps;
|
|
description = "A map application for GNOME 3";
|
|
maintainers = gnome3.maintainers;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|