summary refs log tree commit diff
path: root/pkgs/misc/sane-backends/default.nix
blob: 6f28cfe0a4c52d4b01ec59abf2959c3769d20825 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{stdenv, fetchurl, hotplugSupport ? false}:

assert hotplugSupport -> stdenv.system == "i686-linux";

stdenv.mkDerivation {
  name = "sane-backends-1.0.18";
  builder = ./builder.sh;
  src = fetchurl {
    url = ftp://ftp.sane-project.org/pub/sane/sane-backends-1.0.18/sane-backends-1.0.18.tar.gz;
    md5 = "7ca7e2908e24721471de92cf40c75e60";
  };
  udevSupport = hotplugSupport;
}