keeweb: 1.17.0 → 1.18.6

+16 -18
+16 -18
pkgs/applications/misc/keeweb/default.nix
··· 1 { lib, stdenv, fetchurl, appimageTools, undmg, libsecret, libxshmfence }: 2 let 3 - inherit (stdenv.hostPlatform) system; 4 - throwSystem = throw "Unsupported system: ${system}"; 5 - 6 pname = "keeweb"; 7 - version = "1.17.0"; 8 name = "${pname}-${version}"; 9 10 - suffix = { 11 - x86_64-linux = "linux.AppImage"; 12 - x86_64-darwin = "mac.x64.dmg"; 13 - aarch64-darwin = "mac.arm64.dmg"; 14 - }.${system} or throwSystem; 15 - 16 - src = fetchurl { 17 - url = "https://github.com/keeweb/keeweb/releases/download/v${version}/KeeWeb-${version}.${suffix}"; 18 - sha256 = { 19 - x86_64-linux = "1c7zvwnd46d3lrlcdigv341flz44jl6mnvr6zqny5mfz221ynbj7"; 20 - x86_64-darwin = "1n4haxychm5jjhjnpncavjh0wr4dagqi78qfsx5gwlv86hzryzwy"; 21 - aarch64-darwin = "1j7z63cbfms02f2lhl949wy3lc376jw8kqmjfn9j949s0l5fanpb"; 22 - }.${system} or throwSystem; 23 }; 24 25 appimageContents = appimageTools.extract { 26 inherit name src; ··· 32 changelog = "https://github.com/keeweb/keeweb/blob/v${version}/release-notes.md"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ sikmir ]; 35 - platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ]; 36 }; 37 38 linux = appimageTools.wrapType2 rec {
··· 1 { lib, stdenv, fetchurl, appimageTools, undmg, libsecret, libxshmfence }: 2 let 3 pname = "keeweb"; 4 + version = "1.18.6"; 5 name = "${pname}-${version}"; 6 7 + srcs = { 8 + x86_64-linux = fetchurl { 9 + url = "https://github.com/keeweb/keeweb/releases/download/v${version}/KeeWeb-${version}.linux.AppImage"; 10 + sha256 = "sha256-hxXs8Dfh5YQy1zaFb20KDWNl8eqFjuN5QY7tsO6+E/U="; 11 + }; 12 + x86_64-darwin = fetchurl { 13 + url = "https://github.com/keeweb/keeweb/releases/download/v${version}/KeeWeb-${version}.mac.x64.dmg"; 14 + sha256 = "sha256-8+7NzaHVcLinKb57SAcJmF2Foy9RfxFhcTxzvL0JSJQ="; 15 + }; 16 + aarch64-darwin = fetchurl { 17 + url = "https://github.com/keeweb/keeweb/releases/download/v${version}/KeeWeb-${version}.mac.arm64.dmg"; 18 + sha256 = "sha256-1BNY6kRS0F+AUI+80ZGFi/ek28NMP1uexo1UORz5D6g="; 19 + }; 20 }; 21 + src = srcs.${stdenv.hostPlatform.system}; 22 23 appimageContents = appimageTools.extract { 24 inherit name src; ··· 30 changelog = "https://github.com/keeweb/keeweb/blob/v${version}/release-notes.md"; 31 license = licenses.mit; 32 maintainers = with maintainers; [ sikmir ]; 33 + platforms = builtins.attrNames srcs; 34 }; 35 36 linux = appimageTools.wrapType2 rec {