pantheon.elementary-onboarding: 6.0.0 -> 6.1.0

This commit is contained in:
Bobby Rong 2021-11-24 09:50:25 +08:00
parent 59c9786c5b
commit a9f302e1a2
No known key found for this signature in database
GPG Key ID: ED07364437C91161

View File

@ -1,5 +1,7 @@
{ lib, stdenv
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, substituteAll
, pantheon
@ -14,6 +16,7 @@
, libgee
, elementary-icon-theme
, elementary-gtk-theme
, elementary-settings-daemon
, gettext
, libhandy
, wrapGAppsHook
@ -22,7 +25,7 @@
stdenv.mkDerivation rec {
pname = "elementary-onboarding";
version = "6.0.0";
version = "6.1.0";
repoName = "onboarding";
@ -30,13 +33,7 @@ stdenv.mkDerivation rec {
owner = "elementary";
repo = repoName;
rev = version;
sha256 = "1mpw0j8ymb41py9v9qlk4nwy1lnwj7k388c7gqdv34ynck0ymfi4";
};
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
};
sha256 = "sha256-9voy9eje3VlV4IMM664EyjKWTfSVogX5JoRCqhsUXTE=";
};
nativeBuildInputs = [
@ -52,6 +49,7 @@ stdenv.mkDerivation rec {
buildInputs = [
elementary-gtk-theme
elementary-icon-theme
elementary-settings-daemon # settings schema
glib
granite
gtk3
@ -64,6 +62,12 @@ stdenv.mkDerivation rec {
src = ./fix-paths.patch;
appcenter = appcenter;
})
# Provides the directory where the locales are actually installed
# https://github.com/elementary/onboarding/pull/147
(fetchpatch {
url = "https://github.com/elementary/onboarding/commit/af19c3dbefd1c0e0ec18eddacc1f21cb991f5513.patch";
sha256 = "sha256-fSFfjSd33W7rXXEUHY8b3rv9B9c31XfCjxjRxBBrqjs=";
})
];
postPatch = ''
@ -71,6 +75,12 @@ stdenv.mkDerivation rec {
patchShebangs meson/post_install.py
'';
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
};
};
meta = with lib; {
description = "Onboarding app for new users designed for elementary OS";
homepage = "https://github.com/elementary/onboarding";