mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
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`.
40 lines
1.4 KiB
Nix
40 lines
1.4 KiB
Nix
{ stdenv, fetchurl, intltool, pkgconfig, gtk3, vala_0_32, makeWrapper
|
|
, gnome3, glib, libsoup, libgdata, sqlite, itstool, xdg_utils }:
|
|
|
|
let
|
|
majorVersion = "0.4";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = "california-${majorVersion}.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/california/${majorVersion}/${name}.tar.xz";
|
|
sha256 = "1dky2kllv469k8966ilnf4xrr7z35pq8mdvs7kwziy59cdikapxj";
|
|
};
|
|
|
|
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
|
|
|
buildInputs = [ makeWrapper intltool pkgconfig vala_0_32 glib gtk3 gnome3.libgee
|
|
libsoup libgdata gnome3.gnome_online_accounts gnome3.evolution_data_server
|
|
sqlite itstool xdg_utils gnome3.gsettings_desktop_schemas ];
|
|
|
|
preFixup = ''
|
|
wrapProgram "$out/bin/california" \
|
|
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
|
|
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:${gnome3.defaultIconTheme}/share:${gnome3.gnome_themes_standard}/share:$out/share:$GSETTINGS_SCHEMAS_PATH:${gnome3.gsettings_desktop_schemas}/share"
|
|
'';
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
# Apply fedoras patch to build with evolution-data-server >3.13
|
|
patches = [ ./0002-Build-with-evolution-data-server-3.13.90.patch ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://wiki.gnome.org/Apps/California;
|
|
description = "Calendar application for GNOME 3";
|
|
maintainers = with maintainers; [ pSub ];
|
|
license = licenses.lgpl21;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|