about summary refs log tree commit diff
path: root/pkgs/applications/window-managers
diff options
context:
space:
mode:
authorcolin <colin@uninsane.org>2023-01-21 03:00:03 +0000
committercolin <colin@uninsane.org>2023-01-21 04:43:55 +0000
commitbed9c9319f9b0c7bef1b70fc47cc5e8fd25107f9 (patch)
tree69cc35f297d63cd4b647eb74d6ff88b6594e05dd /pkgs/applications/window-managers
parentdab5667370f3a2882834fee31eeb892f7d0305e2 (diff)
phosh-mobile-settings: 0.21.1 -> 0.23.1
also added `updateScript` to ease future updates:
```sh
$ nix-shell maintainers/scripts/update.nix --argstr package phosh-mobile-settings
```

changelog: <https://gitlab.gnome.org/guidog/phosh-mobile-settings/-/blob/v0.23.1/debian/changelog>
abbreviated changelog (included inline below): <https://gitlab.gnome.org/guidog/phosh-mobile-settings/-/blob/v0.23.1/NEWS>

> phosh-mobile-settings 0.23.1
> ----------------------------
> Released: Junary 2023
> * Fix enabling plugins
>
> phosh-mobile-settings 0.23.0
> ----------------------------
> Released: December 2022
> * Allow lockscreen plugins to have preferences
>
> phosh-mobile-settings 0.22.0
> ----------------------------
> Released: September 2022
> * Avoid flicker on startup
> * Minor fixes
> * Sync version with phosh
> * Contributors:
>        Guido Günther
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r--pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix b/pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix
index 6786576e6edc4..c09df0065ef44 100644
--- a/pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix
+++ b/pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix
@@ -1,6 +1,7 @@
 { lib
 , stdenv
 , fetchFromGitLab
+, gitUpdater
 , meson
 , ninja
 , pkg-config
@@ -17,19 +18,20 @@
 
 stdenv.mkDerivation rec {
   pname = "phosh-mobile-settings";
-  version = "0.21.1";
+  version = "0.23.1";
 
   src = fetchFromGitLab {
     domain = "gitlab.gnome.org";
     owner = "guidog";
     repo = "phosh-mobile-settings";
     rev = "v${version}";
-    sha256 = "sha256-60AXaKSF8bY+Z3TNlIIa7jZwQ2IkHqCbZ3uIlhkx6i0=";
+    sha256 = "sha256-D605efn25Dl3Bj92DZiagcx+MMcRz0GRaWxplBRcZhA=";
   };
 
   nativeBuildInputs = [
     meson
     ninja
+    phosh
     pkg-config
     wrapGAppsHook
   ];
@@ -41,7 +43,6 @@ stdenv.mkDerivation rec {
     libadwaita
     lm_sensors
     phoc
-    phosh
     wayland-protocols
   ];
 
@@ -56,9 +57,14 @@ stdenv.mkDerivation rec {
       --replace 'Exec=phosh-mobile-settings' "Exec=$out/bin/phosh-mobile-settings"
   '';
 
+  passthru.updateScript = gitUpdater {
+    rev-prefix = "v";
+  };
+
   meta = with lib; {
     description = "A settings app for mobile specific things";
     homepage = "https://gitlab.gnome.org/guidog/phosh-mobile-settings";
+    changelog = "https://gitlab.gnome.org/guidog/phosh-mobile-settings/-/blob/v${version}/debian/changelog";
     license = licenses.gpl3Plus;
     maintainers = with maintainers; [ colinsane ];
     platforms = platforms.linux;