diff options
author | Rodney Lorrimar <dev@rodney.id.au> | 2024-02-02 12:27:13 +0800 |
---|---|---|
committer | tomf <tom@tom-fitzhenry.me.uk> | 2024-02-07 20:10:15 +1100 |
commit | a45634d41506651da468dcff8f7a22bd2073b71c (patch) | |
tree | e57a5863060b5797c86083ffe52ed34f68ce32ca /pkgs/applications/window-managers | |
parent | d1b00d0765502651990a85d51105bfedc17a845a (diff) |
phosh-mobile-settings: 0.23.1 -> 0.31.0, use release tarball for src
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r-- | pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix b/pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix index c09df0065ef44..b78784ef0a7c0 100644 --- a/pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix +++ b/pkgs/applications/window-managers/phosh/phosh-mobile-settings.nix @@ -1,7 +1,7 @@ { lib , stdenv -, fetchFromGitLab -, gitUpdater +, fetchurl +, directoryListingUpdater , meson , ninja , pkg-config @@ -18,14 +18,12 @@ stdenv.mkDerivation rec { pname = "phosh-mobile-settings"; - version = "0.23.1"; + version = "0.31.0"; - src = fetchFromGitLab { - domain = "gitlab.gnome.org"; - owner = "guidog"; - repo = "phosh-mobile-settings"; - rev = "v${version}"; - sha256 = "sha256-D605efn25Dl3Bj92DZiagcx+MMcRz0GRaWxplBRcZhA="; + src = fetchurl { + # This tarball includes the meson wrapped subproject 'gmobile'. + url = "https://sources.phosh.mobi/releases/${pname}/${pname}-${version}.tar.xz"; + hash = "sha256-5Qa6LSOLvZL0sFh2co9AqyS5ZTQQ+JRnPiHuMl1UgDI="; }; nativeBuildInputs = [ @@ -57,9 +55,7 @@ stdenv.mkDerivation rec { --replace 'Exec=phosh-mobile-settings' "Exec=$out/bin/phosh-mobile-settings" ''; - passthru.updateScript = gitUpdater { - rev-prefix = "v"; - }; + passthru.updateScript = directoryListingUpdater { }; meta = with lib; { description = "A settings app for mobile specific things"; |