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