tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
koreader: add support for aarch64-linux
Bryton Hall
2 years ago
47e8beba
3f159966
+7
-4
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
koreader
default.nix
+7
-4
pkgs/applications/misc/koreader/default.nix
···
16
pname = "koreader";
17
version = "2023.04";
18
19
-
src = fetchurl {
20
-
url =
21
-
"https://github.com/koreader/koreader/releases/download/v${version}/koreader-${version}-amd64.deb";
0
0
0
22
sha256 = "sha256-tRUeRB1+UcWT49dchN0YDvd0L5n1YRdtMSFc8yy6m5o=";
23
};
24
···
63
description =
64
"An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices";
65
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
66
-
platforms = intersectLists platforms.x86_64 platforms.linux;
67
license = licenses.agpl3Only;
68
maintainers = with maintainers; [ contrun neonfuz];
69
};
···
16
pname = "koreader";
17
version = "2023.04";
18
19
+
20
+
src = if stdenv.isAarch64 then fetchurl {
21
+
url = "https://github.com/koreader/koreader/releases/download/v${version}/koreader-${version}-arm64.deb";
22
+
sha256 = "sha256-uuspjno0750hQMIB5HEhbV63wCna2izKOHEGIg/X0bU=";
23
+
} else fetchurl {
24
+
url = "https://github.com/koreader/koreader/releases/download/v${version}/koreader-${version}-amd64.deb";
25
sha256 = "sha256-tRUeRB1+UcWT49dchN0YDvd0L5n1YRdtMSFc8yy6m5o=";
26
};
27
···
66
description =
67
"An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices";
68
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
69
+
platforms = with platforms; intersectLists linux (x86_64 ++ aarch64);
70
license = licenses.agpl3Only;
71
maintainers = with maintainers; [ contrun neonfuz];
72
};