bookworm: unstable-2022-01-09 -> unstable-2026-05-28 (#533735)

This commit is contained in:
Peder Bergebakken Sundt
2026-06-22 21:54:32 +00:00
committed by GitHub
+11 -7
View File
@@ -24,19 +24,19 @@
unar,
unzip,
vala,
# webkitgtk_4_0,
webkitgtk_4_1,
wrapGAppsHook3,
}:
stdenv.mkDerivation {
pname = "bookworm";
version = "unstable-2022-01-09";
version = "unstable-2026-05-28";
src = fetchFromGitHub {
owner = "babluboy";
repo = "bookworm";
rev = "f3df858ce748a6bbc43f03a6e261ff76a6d7d303";
hash = "sha256-mLyJfblF5WnWBV3rX1ZRupccou4t5mBpo3W7+ECNMVI=";
rev = "fa06f1b80bb2372c1f20b0cfb21dc88eed410e29";
hash = "sha256-xml6jOE0tJBz1CwE+0ecSbiGAajh398bw+leFapctiE=";
};
nativeBuildInputs = [
@@ -60,12 +60,18 @@ stdenv.mkDerivation {
poppler
python3
sqlite
# webkitgtk_4_0
webkitgtk_4_1
];
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
substituteInPlace meson.build \
--replace-fail "webkit2gtk-4.0" "webkit2gtk-4.1"
substituteInPlace src/window.vala \
--replace-fail "Soup.URI.decode" "Uri.unescape_string"
substituteInPlace src/utils.vala \
--replace-fail "Soup.URI.decode" "Uri.unescape_string"
'';
# These programs are expected in PATH from the source code and scripts
@@ -92,8 +98,6 @@ stdenv.mkDerivation {
'';
meta = {
# webkitgtk_4_0 was removed
broken = true;
description = "Simple, focused eBook reader";
mainProgram = "com.github.babluboy.bookworm";
longDescription = ''