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
2016-12-19 14:56:55 +00:00
2016-12-19 16:15:59 +01:00
2016-12-18 22:39:27 +01:00
2016-12-19 22:25:31 +01:00
2016-10-02 22:10:43 +02:00
2016-09-02 08:47:21 +02:00
2016-10-04 17:45:24 +02:00

logo

Build Status Code Triagers Badge

Nixpkgs is a collection of packages for the Nix package manager. It is periodically built and tested by the hydra build daemon as so-called channels. To get channel information via git, add nixpkgs-channels as a remote:

% git remote add channels git://github.com/NixOS/nixpkgs-channels.git

For stability and maximum binary package support, it is recommended to maintain custom changes on top of one of the channels, e.g. nixos-16.09 for the latest release and nixos-unstable for the latest successful build of master:

% git remote update channels
% git rebase channels/nixos-16.09

For pull-requests, please rebase onto nixpkgs master.

NixOS linux distribution source code is located inside nixos/ folder.

Communication:

Description
No description provided
Readme 1.5 GiB
Languages
Nix 96.3%
Shell 1.8%
Python 0.7%
Perl 0.4%
C 0.3%
Other 0.1%