nixpkgs/pkgs
aszlig 0409ce2330
python/pyinsane2: init at 2.0.9
The tests require a scanner to be physically attached.

Quote from the upstream README:

> Tests require at least one scanner with a flatbed and an ADF
> (Automatic Document Feeder).
>
> If possible, they should be run with at least 2 scanners connected.
> The first that appear in "scanimage -L" must be the one with the ADF.
>
> For reference, my current setup is:
>
>  - HP Officejet 4620 (Flatbed + ADF)
>  - HP Deskjet 2050 J510 series (Flatbed)

So we disable the tests even though it might be theoretically possible
to use qemu and an emulated scanner. Instead of the upstream tests we
just do a quick check whether initialization of the library succeeds.

Other than that the library uses ctypes.cdll to dlopen() the libsane
shared library, so we need to patch in the right store path.

Tested by building against Python 2.7, 3.3, 3.4, 3.5 and 3.6.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-12-19 22:25:31 +01:00
..
applications fte: init at 0.50.02 2016-12-19 16:15:59 +01:00
build-support Merge pull request #19369 from Mic92/nix-prefetch-git 2016-12-14 08:32:50 +01:00
data unscii: init at 1.1 2016-12-15 21:29:13 +01:00
desktops kde5.applications: 16.08.3 -> 16.12.0 2016-12-18 08:33:22 -06:00
development Merge pull request #21228 from mimadrid/update/poppler-0.50.0 2016-12-19 11:47:45 -06:00
games zdoom: Fix typo from 1cc9d9ef2c 2016-12-18 04:29:33 -05:00
misc light-locker: Conform meta.description to CONTRIBUTING 2016-12-18 19:38:12 +01:00
os-specific tp_smapi: updateScript added 2016-12-18 16:45:33 +01:00
servers Merge pull request #21250 from mdaiter/riakCSMac 2016-12-18 12:54:03 +01:00
shells oh-my-zsh: 2016-11-16 -> 2016-12-14 2016-12-17 15:32:48 -05:00
stdenv top-level: avoid another assert false while we're at it 2016-12-15 17:09:46 -05:00
test Remove cruft 2016-04-26 17:31:54 +02:00
tools goaccess: 1.0 -> 1.1.1 2016-12-19 18:30:53 +00:00
top-level python/pyinsane2: init at 2.0.9 2016-12-19 22:25:31 +01:00