about summary refs log tree commit diff
diff options
context:
space:
mode:
authorArmeen Mahdian <mahdianarmeen@gmail.com>2022-03-22 06:19:39 -0500
committerArmeen Mahdian <mahdianarmeen@gmail.com>2022-03-22 06:19:39 -0500
commit37102b6bffa5e5efbb021c39f1271cf5c396a6a2 (patch)
tree6ae62905f3c7ac8c2766d0c92697de0aa18a0368
parentb41aeea9a1bb007473cac6eb41cb72989ef56c90 (diff)
downloadnixlib-37102b6bffa5e5efbb021c39f1271cf5c396a6a2.tar
nixlib-37102b6bffa5e5efbb021c39f1271cf5c396a6a2.tar.gz
nixlib-37102b6bffa5e5efbb021c39f1271cf5c396a6a2.tar.bz2
nixlib-37102b6bffa5e5efbb021c39f1271cf5c396a6a2.tar.lz
nixlib-37102b6bffa5e5efbb021c39f1271cf5c396a6a2.tar.xz
nixlib-37102b6bffa5e5efbb021c39f1271cf5c396a6a2.tar.zst
nixlib-37102b6bffa5e5efbb021c39f1271cf5c396a6a2.zip
bookworm: 1.1.2 -> unstable-2022-01-09
-rw-r--r--pkgs/applications/office/bookworm/default.nix73
1 files changed, 49 insertions, 24 deletions
diff --git a/pkgs/applications/office/bookworm/default.nix b/pkgs/applications/office/bookworm/default.nix
index 100818ad249d..9cdbd14e105c 100644
--- a/pkgs/applications/office/bookworm/default.nix
+++ b/pkgs/applications/office/bookworm/default.nix
@@ -1,42 +1,67 @@
-{ lib, stdenv, fetchFromGitHub, pantheon, vala, python3, python2, pkg-config, libxml2, meson, ninja, gtk3, glib, webkitgtk, libgee
-, gobject-introspection, sqlite, poppler, poppler_utils, html2text, curl, gnugrep, coreutils, bash, unzip, unar, wrapGAppsHook
-, appstream, desktop-file-utils }:
+{ lib
+, stdenv
+, fetchFromGitHub
+, appstream
+, bash
+, coreutils
+, curl
+, desktop-file-utils
+, glib
+, gnugrep
+, gobject-introspection
+, gtk3
+, html2text
+, libgee
+, libxml2
+, meson
+, ninja
+, pantheon
+, pkg-config
+, poppler
+, poppler_utils
+, python3
+, sqlite
+, unar
+, unzip
+, vala
+, webkitgtk
+, wrapGAppsHook
+}:
 
 stdenv.mkDerivation rec {
   pname = "bookworm";
-  version = "1.1.2";
+  version = "unstable-2022-01-09";
 
   src = fetchFromGitHub {
     owner = "babluboy";
     repo = pname;
-    rev = version;
-    sha256 = "0w0rlyahpgx0l6inkbj106agbnr2czil0vdcy1zzv70apnjz488j";
+    rev = "f3df858ce748a6bbc43f03a6e261ff76a6d7d303";
+    hash = "sha256-mLyJfblF5WnWBV3rX1ZRupccou4t5mBpo3W7+ECNMVI=";
   };
 
   nativeBuildInputs = [
     bash
-    gobject-introspection
-    libxml2
     meson
     ninja
     pkg-config
-    python3
     vala
     wrapGAppsHook
   ];
 
   buildInputs = [
-    pantheon.granite
+    appstream
+    desktop-file-utils
     glib
-    libgee
+    gobject-introspection
     gtk3
     html2text
+    libgee
+    libxml2
+    pantheon.granite
     poppler
-    python2
+    python3
     sqlite
     webkitgtk
-    appstream
-    desktop-file-utils
   ];
 
   postPatch = ''
@@ -57,13 +82,13 @@ stdenv.mkDerivation rec {
     patchShebangs $out/share/bookworm/scripts/tasks/*.sh
   '';
 
-   meta = with lib; {
-     description = "A simple, focused eBook reader";
-     longDescription = ''
-       Read the books you love without having to worry about different format complexities like epub, pdf, mobi, cbr, etc.
-     '';
-     homepage = "https://babluboy.github.io/bookworm/";
-     license = licenses.gpl3Plus;
-     platforms = platforms.linux;
-   };
- }
+  meta = with lib; {
+    description = "A simple, focused eBook reader";
+    longDescription = ''
+      Read the books you love without having to worry about different format complexities like epub, pdf, mobi, cbr, etc.
+    '';
+    homepage = "https://babluboy.github.io/bookworm/";
+    license = licenses.gpl3Plus;
+    platforms = platforms.linux;
+  };
+}