summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2021-10-06 21:03:48 +0200
committerGitHub <noreply@github.com>2021-10-06 21:03:48 +0200
commitfc89e2a3c61ad70551daf6bb5dc2a5d7aeb5c9cb (patch)
tree2ad6f8b6ab12733fdcf31c026179cfd1d701b9f5
parentMerge pull request #139257 from r-ryantm/auto-update/python38Packages.sqlite-... (diff)
parentsignal-desktop: 5.18.1 -> 5.19.0 (diff)
downloadnixpkgs-fc89e2a3c61ad70551daf6bb5dc2a5d7aeb5c9cb.tar.gz
Merge pull request #140782 from primeos/signal-desktop
signal-desktop: 5.18.1 -> 5.19.0
-rw-r--r--pkgs/applications/networking/instant-messengers/signal-desktop/default.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix b/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
index 51075425b4f9..81967bcbe2b7 100644
--- a/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
+++ b/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
@@ -18,14 +18,12 @@ let
# E.g. "de_DE" -> "de-de" (spellcheckerLanguage -> hunspellDict)
spellLangComponents = splitString "_" spellcheckerLanguage;
hunspellDict = elemAt spellLangComponents 0 + "-" + toLower (elemAt spellLangComponents 1);
- in if spellcheckerLanguage != null
- then ''
- --set HUNSPELL_DICTIONARIES "${hunspellDicts.${hunspellDict}}/share/hunspell" \
- --set LC_MESSAGES "${spellcheckerLanguage}"''
- else "");
+ in lib.optionalString (spellcheckerLanguage != null) ''
+ --set HUNSPELL_DICTIONARIES "${hunspellDicts.${hunspellDict}}/share/hunspell" \
+ --set LC_MESSAGES "${spellcheckerLanguage}"'');
in stdenv.mkDerivation rec {
pname = "signal-desktop";
- version = "5.18.1"; # Please backport all updates to the stable channel.
+ version = "5.19.0"; # Please backport all updates to the stable channel.
# All releases have a limited lifetime and "expire" 90 days after the release.
# When releases "expire" the application becomes unusable until an update is
# applied. The expiration date for the current release can be extracted with:
@@ -35,7 +33,7 @@ in stdenv.mkDerivation rec {
src = fetchurl {
url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";
- sha256 = "0x1wrzxyspghv0hwdh3sw8536c9qi7211d2g5cr3f33kz9db5xp4";
+ sha256 = "0avns5axcfs8x9sv7hyjxi1cr7gag00avfj0h99wgn251b313g1a";
};
nativeBuildInputs = [