diff options
author | Peter Hoeg <peter@hoeg.com> | 2021-09-26 15:52:54 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2021-09-28 10:32:53 +0800 |
commit | dc72e18d5f34b3605ae9d7996984eaab239ef460 (patch) | |
tree | da12f35e0943e54cd74b5a943afd0fb0c9977c5f /pkgs/applications/networking/instant-messengers/quaternion | |
parent | 984c8d67fbed65e3ddc97f2b514c68d632f0c251 (diff) |
quaternion: 0.0.9.5-beta2 -> 0.0.95
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/quaternion')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/quaternion/default.nix | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/pkgs/applications/networking/instant-messengers/quaternion/default.nix b/pkgs/applications/networking/instant-messengers/quaternion/default.nix index 31b37fc2dfb2..359c0fa7aac5 100644 --- a/pkgs/applications/networking/instant-messengers/quaternion/default.nix +++ b/pkgs/applications/networking/instant-messengers/quaternion/default.nix @@ -1,17 +1,27 @@ -{ mkDerivation, stdenv, lib, fetchFromGitHub, cmake -, qtbase, qtquickcontrols, qtquickcontrols2, qtkeychain, qtmultimedia, qttools -, libquotient, libsecret +{ mkDerivation +, stdenv +, lib +, fetchFromGitHub +, cmake +, qtbase +, qtquickcontrols +, qtquickcontrols2 +, qtkeychain +, qtmultimedia +, qttools +, libquotient +, libsecret }: mkDerivation rec { pname = "quaternion"; - version = "0.0.9.5-beta2"; + version = "0.0.95"; src = fetchFromGitHub { owner = "QMatrixClient"; repo = "Quaternion"; rev = version; - sha256 = "sha256-K4SMB5kL0YO2OIeNUu4hWqU4E4n4vZDRRsJVYmCZqvM="; + sha256 = "sha256-WqhHqo4ySxufulC+TxS2ko2R5hUiORgdNAkp5Awdcw8="; }; buildInputs = [ @@ -26,14 +36,15 @@ mkDerivation rec { nativeBuildInputs = [ cmake qttools ]; - postInstall = if stdenv.isDarwin then '' - mkdir -p $out/Applications - mv $out/bin/quaternion.app $out/Applications - rmdir $out/bin || : - '' else '' - substituteInPlace $out/share/applications/com.github.quaternion.desktop \ - --replace 'Exec=quaternion' "Exec=$out/bin/quaternion" - ''; + postInstall = + if stdenv.isDarwin then '' + mkdir -p $out/Applications + mv $out/bin/quaternion.app $out/Applications + rmdir $out/bin || : + '' else '' + substituteInPlace $out/share/applications/com.github.quaternion.desktop \ + --replace 'Exec=quaternion' "Exec=$out/bin/quaternion" + ''; meta = with lib; { description = |