standardnotes: 3.8.18 -> 3.9.5 (#148518)

main
Zhu Chuang 3 years ago committed by GitHub
parent 435043c924
commit f069a6d3a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      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" ];
};
}

Loading…
Cancel
Save