diff options
author | Rodney Lorrimar <dev@rodney.id.au> | 2024-02-02 12:13:18 +0800 |
---|---|---|
committer | tomf <tom@tom-fitzhenry.me.uk> | 2024-02-07 20:10:15 +1100 |
commit | 45cac73752e4b7ec13be57d96d1174af3555d268 (patch) | |
tree | 2c7374ac52551c83136c048c92cbbbe7fef07e85 /pkgs/applications/window-managers/phosh | |
parent | bc695020db880c0e7e9321ff19748f5805091732 (diff) |
phosh: 0.33.0 -> 0.34.1, use release tarball for src
Diffstat (limited to 'pkgs/applications/window-managers/phosh')
-rw-r--r-- | pkgs/applications/window-managers/phosh/default.nix | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/pkgs/applications/window-managers/phosh/default.nix b/pkgs/applications/window-managers/phosh/default.nix index 9e009e1f128ce..3665d9ca3a2c2 100644 --- a/pkgs/applications/window-managers/phosh/default.nix +++ b/pkgs/applications/window-managers/phosh/default.nix @@ -1,7 +1,7 @@ { lib , stdenv -, fetchFromGitLab -, gitUpdater +, fetchurl +, directoryListingUpdater , meson , ninja , pkg-config @@ -36,16 +36,12 @@ stdenv.mkDerivation rec { pname = "phosh"; - version = "0.33.0"; + version = "0.34.1"; - src = fetchFromGitLab { - domain = "gitlab.gnome.org"; - group = "World"; - owner = "Phosh"; - repo = pname; - rev = "v${version}"; - fetchSubmodules = true; # including gvc and libcall-ui which are designated as subprojects - sha256 = "sha256-t+1MYfsz7KqsMvN8TyLIUrTLTQPWQQpOSk/ysxgE7kg="; + src = fetchurl { + # Release tarball which includes subprojects gvc and libcall-ui + url = "https://sources.phosh.mobi/releases/${pname}/${pname}-${version}.tar.xz"; + hash = "sha256-nuPFhfnpLIHn1z3nQE7Lg3j75uIogWJatL4oGuoy1PE="; }; nativeBuildInputs = [ @@ -126,9 +122,7 @@ stdenv.mkDerivation rec { tests.phosh = nixosTests.phosh; - updateScript = gitUpdater { - rev-prefix = "v"; - }; + updateScript = directoryListingUpdater { }; }; meta = with lib; { |