phosh: 0.22.0 -> 0.23.0

also added `updateScript` to ease future updates:
```sh
$ nix-shell maintainers/scripts/update.nix --argstr package phosh
```

changelog: <https://gitlab.gnome.org/World/Phosh/phosh/-/blob/v0.23.0/debian/changelog>
abbreviated changelog (included inline below): <https://gitlab.gnome.org/World/Phosh/phosh/-/blob/v0.23.0/NEWS>

> phosh 0.23.0
> ------------
> Released December 2022
> * New lockscreen plugin for personal/emergency information
> * Allow plugins to have UI to set preferences
> * Ease creating plugin by better examples, improved helpers
>   and less duplication.
> * Switch docs to gi-docgen
This commit is contained in:
colin 2023-01-21 02:59:45 +00:00
parent 899f2b64c2
commit dab5667370

View File

@ -1,11 +1,13 @@
{ lib
, stdenv
, fetchFromGitLab
, gitUpdater
, meson
, ninja
, pkg-config
, python3
, wrapGAppsHook
, libadwaita
, libhandy
, libxkbcommon
, libgudev
@ -13,7 +15,7 @@
, pulseaudio
, evince
, glib
, gtk3
, gtk4
, gnome
, gnome-desktop
, gcr
@ -34,7 +36,7 @@
stdenv.mkDerivation rec {
pname = "phosh";
version = "0.22.0";
version = "0.23.0";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
@ -43,10 +45,11 @@ stdenv.mkDerivation rec {
repo = pname;
rev = "v${version}";
fetchSubmodules = true; # including gvc and libcall-ui which are designated as subprojects
sha256 = "sha256-q2AYm+zbL4/pRG1wn+MT6IYM8CZt15o48U9+piMPf74=";
sha256 = "sha256-EMPqBKrtlwI9SJlqZjyAN5CtV4/BNwc5LapfeCEIYxc=";
};
nativeBuildInputs = [
libadwaita
meson
ninja
pkg-config
@ -71,7 +74,7 @@ stdenv.mkDerivation rec {
gnome.gnome-control-center
gnome-desktop
gnome.gnome-session
gtk3
gtk4
pam
systemd
upower
@ -127,11 +130,16 @@ stdenv.mkDerivation rec {
];
tests.phosh = nixosTests.phosh;
updateScript = gitUpdater {
rev-prefix = "v";
};
};
meta = with lib; {
description = "A pure Wayland shell prototype for GNOME on mobile devices";
homepage = "https://gitlab.gnome.org/World/Phosh/phosh";
changelog = "https://gitlab.gnome.org/World/Phosh/phosh/-/blob/v${version}/debian/changelog";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ masipcat zhaofengli ];
platforms = platforms.linux;