git.iko.soy/typeable/nixpkgs
on master help sign in
paperwork(-backend): 1.2 -> 1.2.1

Upstream changes: Paperwork-GUI 1.2.1: * Add source code of Windows installer (NSIS installer) generator * Scanner support / Multi-scan: Cancel also successful scan session. Otherwise some scanner won't allow new scan sessions later. * Remove gi version warnings when starting (thanks to Matthieu Coudron) * Documentation: Add missing stdeb dependencies (thanks to Notkea) * paperwork-shell: Fix command 'scan' * paperwork-shell install: add docstring * Fix dialog 'about' Paperwork-backend 1.2.1: * paperwork-shell: improve help string of 'paperwork-shell chkdeps' * Fix label deletion / renaming * Windows: Fix FS.safe() when used for PDF import * Windows: Fix FS.unsafe() (used for PDF export) Full upstream changelog can be found at: https://github.com/openpaperwork/paperwork/releases/tag/1.2.1 Successfully tested building and running Paperwork with a few test scans. Signed-off-by: aszlig <aszlig@nix.build>

commit1b1cc34020a09c740bf8263daa9cc07d8ae52424 authoraszlig <aszlig@nix.build> dateThu 9 Nov 2017, 07:08 (9 years ago) parentc1d12e1
2 files changed+11−8
pkgs/applications/office/paperwork/default.nix+8−5 pkgs/top-level/python-packages.nix+3−3
pkgs/applications/office/paperwork/default.nix+8−5
@@ -1,19 +1,19 @@
11{ lib, python3Packages, fetchFromGitHub, gtk3, cairo
22, aspellDicts, buildEnv
3−, gnome3, hicolor_icon_theme
3+, gnome3, hicolor_icon_theme, librsvg
44, xvfb_run, dbus, libnotify
55}:
66
77python3Packages.buildPythonApplication rec {
88 name = "paperwork-${version}";
99 # Don't forget to also update paperwork-backend when updating this!
10− version = "1.2";
10+ version = "1.2.1";
1111
1212 src = fetchFromGitHub {
1313 repo = "paperwork";
14− owner = "jflesch";
14+ owner = "openpaperwork";
1515 rev = version;
16− sha256 = "1cb9wnhhpm3dyxjrkyl9bbva56xx85vlwlb7z07m1icflcln14x5";
16+ sha256 = "0lqnq74hdjj778j2k0syibwy4i37l8w932gmibs8617s4yi34rxz";
1717 };
1818
1919 # Patch out a few paths that assume that we're using the FHS:
@@ -47,7 +47,9 @@ python3Packages.buildPythonApplication rec {
4747 }}/lib/aspell";
4848
4949 checkInputs = [ xvfb_run dbus.daemon ];
50− buildInputs = [ gnome3.defaultIconTheme hicolor_icon_theme libnotify ];
50+ buildInputs = [
51+ gnome3.defaultIconTheme hicolor_icon_theme libnotify librsvg
52+ ];
5153
5254 # A few parts of chkdeps need to have a display and a dbus session, so we not
5355 # only need to run a virtual X server + dbus but also have a large enough
@@ -64,6 +66,7 @@ python3Packages.buildPythonApplication rec {
6466
6567 makeWrapperArgs = [
6668 "--set GI_TYPELIB_PATH \"$GI_TYPELIB_PATH\""
69+ "--set GDK_PIXBUF_MODULE_FILE \"$GDK_PIXBUF_MODULE_FILE\""
6770 "--prefix XDG_DATA_DIRS : \"$out/share\""
6871 "--suffix XDG_DATA_DIRS : \"$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH\""
6972 ];
pkgs/top-level/python-packages.nix+3−3
@@ -6520,13 +6520,13 @@ in {
65206520
65216521 paperwork-backend = buildPythonPackage rec {
65226522 name = "paperwork-backend-${version}";
6523− version = "1.2.0";
6523+ version = "1.2.1";
65246524
65256525 src = pkgs.fetchFromGitHub {
6526− owner = "jflesch";
6526+ owner = "openpaperwork";
65276527 repo = "paperwork-backend";
65286528 rev = version;
6529− sha256 = "1pzyy14f9wzh9vwn855k1z48a8mbs73j1dk8730kdlcdkmn3l1ms";
6529+ sha256 = "1lrawibm6jnykj1bkrl8196kcxrhndzp7r0brdrb4hs54gql7j5x";
65306530 };
65316531
65326532 # Python 2.x is not supported.