git.iko.soy/typeable/nixpkgs
on master help sign in
python/pyinsane2: 2.0.9 -> 2.0.10

Upstream changes: * Now works with 'setup.py develop' (thanks to Matthieu Coudron) * WIA: Some drivers (Lexmark for instance) returns WIA_ERROR_PAPER_EMPTY when calling transfer->Download() instead of returning a shorted image (like HP) * MacOSX + Sane: disable dedicated process workaround (doesn't work) * WIA: Minor optimisation (Use collections.deque() instead of list.pop()) * Sane/exit(): Exit gracefully Full changelog can be found at: https://github.com/openpaperwork/pyinsane/blob/2.0.10/ChangeLog Tested by building and running a few scans. Signed-off-by: aszlig <aszlig@nix.build>

commitc1d12e11200cb383491d6f6cd1d53d2d6dc15aca authoraszlig <aszlig@nix.build> dateThu 9 Nov 2017, 07:31 (9 years ago) parent7245002
1 file changed+4−4
pkgs/top-level/python-packages.nix+4−4
pkgs/top-level/python-packages.nix+4−4
@@ -16043,21 +16043,21 @@ in {
1604316043
1604416044 pyinsane2 = buildPythonPackage rec {
1604516045 name = "pyinsane2-${version}";
16046− version = "2.0.9";
16046+ version = "2.0.10";
1604716047
1604816048 src = pkgs.fetchurl {
1604916049 url = "mirror://pypi/p/pyinsane2/${name}.tar.gz";
16050− sha256 = "1g4a1zhrrs7smmnsm7x8j5lvsz0r6rr2jgjykc9c1jlscz3yr747";
16050+ sha256 = "00d1wqb3w9bn1rxb2dwmdqbar2lr96izq855l5vzprc17dkgip3j";
1605116051 };
1605216052
1605316053 postPatch = ''
1605416054 # pyinsane2 forks itself, so we need to re-inject the PYTHONPATH.
1605516055 sed -i -e '/os.putenv.*PYINSANE_DAEMON/ {
1605616056 a \ os.putenv("PYTHONPATH", ":".join(sys.path))
16057− }' src/pyinsane2/sane/abstract_proc.py
16057+ }' pyinsane2/sane/abstract_proc.py
1605816058
1605916059 sed -i -e 's,"libsane.so.1","${pkgs.sane-backends}/lib/libsane.so",' \
16060− src/pyinsane2/sane/rawapi.py
16060+ pyinsane2/sane/rawapi.py
1606116061 '';
1606216062
1606316063 # Tests require a scanner to be physically connected, so let's just do a