2006-01-30 16:29:26 +01:00
|
|
|
{stdenv, fetchurl, hotplug ? null, hotplugSupport ? false}:
|
|
|
|
|
|
|
|
assert hotplugSupport -> hotplug != null;
|
|
|
|
assert hotplugSupport -> stdenv.system == "i686-linux";
|
2005-11-03 18:20:38 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2006-01-30 16:29:26 +01:00
|
|
|
name = "sane-backends-1.0.17";
|
|
|
|
builder = ./builder.sh;
|
2005-11-03 18:20:38 +01:00
|
|
|
src = fetchurl {
|
2006-01-30 17:04:03 +01:00
|
|
|
url = http://nix.cs.uu.nl/dist/tarballs/sane-backends-1.0.17.tar.gz;
|
2006-01-30 16:29:26 +01:00
|
|
|
md5 = "b51c10da8a81a04e1bae88c9e6556df2";
|
2005-11-03 18:20:38 +01:00
|
|
|
};
|
2006-01-30 16:29:26 +01:00
|
|
|
inherit (if hotplugSupport then hotplug else null);
|
2005-11-03 18:20:38 +01:00
|
|
|
}
|