gnome-clocks: rec -> finalAttrs, nixfmt-rfc-style

This commit is contained in:
John Titor 2024-07-04 15:52:45 +05:30
parent 8fa00a6192
commit fcd81d0843
No known key found for this signature in database
GPG Key ID: 29B0514F4E3C1CC0

View File

@ -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,
sound-theme-freedesktop,
gsettings-desktop-schemas,
gnome-desktop,
geocode-glib_2,
gnome,
gdk-pixbuf,
geoclue2,
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=";
};
@ -72,12 +73,12 @@ stdenv.mkDerivation rec {
};
};
meta = with lib; {
meta = {
homepage = "https://apps.gnome.org/Clocks/";
description = "Clock application designed for GNOME 3";
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;
};
}
})