From f069a6d3a1b6a2fcc87033c7984bfe65746bc706 Mon Sep 17 00:00:00 2001 From: Zhu Chuang Date: Thu, 16 Dec 2021 19:51:36 +0800 Subject: [PATCH] standardnotes: 3.8.18 -> 3.9.5 (#148518) --- .../editors/standardnotes/default.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/editors/standardnotes/default.nix b/pkgs/applications/editors/standardnotes/default.nix index d3ff564b8f0..4191f6fbd20 100644 --- a/pkgs/applications/editors/standardnotes/default.nix +++ b/pkgs/applications/editors/standardnotes/default.nix @@ -2,19 +2,20 @@ , fetchurl, libsecret, gtk3, gsettings-desktop-schemas }: let - version = "3.8.18"; + version = "3.9.5"; pname = "standardnotes"; name = "${pname}-${version}"; + throwSystem = throw "Unsupported system: ${stdenv.hostPlatform.system}"; plat = { - i386-linux = "i386"; + i686-linux = "i386"; x86_64-linux = "x86_64"; - }.${stdenv.hostPlatform.system}; + }.${stdenv.hostPlatform.system} or throwSystem; sha256 = { - i386-linux = "1xiypsmvpk8i6kab862pipbdfb0y5d5355hdwjmva7v7g26aa7h7"; - x86_64-linux = "03qlxlgyypnvcr40jh6i4wriyax2jbfhrb798cq0n7qlc1y4pg8r"; - }.${stdenv.hostPlatform.system}; + i686-linux = "sha256-7Mo8ELFV6roZ3IYWBtB2rRDAzJrq4ht9f1v6uohsauw="; + x86_64-linux = "sha256-9VPYII9E8E3yL7UuU0+GmaK3qxWX4bwfACDl7F7sngo="; + }.${stdenv.hostPlatform.system} or throwSystem; src = fetchurl { url = "https://github.com/standardnotes/desktop/releases/download/v${version}/standard-notes-${version}-linux-${plat}.AppImage"; @@ -60,7 +61,7 @@ in appimageTools.wrapType2 rec { ''; homepage = "https://standardnotes.org"; license = licenses.agpl3; - maintainers = with maintainers; [ mgregoire ]; - platforms = [ "i386-linux" "x86_64-linux" ]; + maintainers = with maintainers; [ mgregoire chuangzhu ]; + platforms = [ "i686-linux" "x86_64-linux" ]; }; }