1.0.17 -> 1.0.18

hotplug -> udev

svn path=/nixpkgs/trunk/; revision=6001
This commit is contained in:
Armijn Hemel 2006-07-31 13:29:02 +00:00
parent 0dbb937565
commit 4dca405b3d
2 changed files with 7 additions and 7 deletions

View File

@ -1,9 +1,9 @@
source $stdenv/setup
postInstall() {
if test "$hotplugSupport" = "1" ; then
ensureDir $out/etc/hotplug/usb/
cp tools/hotplug/* $out/etc/hotplug/usb/
if test "$udevSupport" = "1" ; then
ensureDir $out/etc/udev/rules.d/
cp tools/udev/libsane.rules $out/etc/udev/rules.d/60-libsane.rules
fi
}

View File

@ -3,11 +3,11 @@
assert hotplugSupport -> stdenv.system == "i686-linux";
stdenv.mkDerivation {
name = "sane-backends-1.0.17";
name = "sane-backends-1.0.18";
builder = ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/sane-backends-1.0.17.tar.gz;
md5 = "b51c10da8a81a04e1bae88c9e6556df2";
url = ftp://ftp.sane-project.org/pub/sane/sane-backends-1.0.18/sane-backends-1.0.18.tar.gz;
md5 = "7ca7e2908e24721471de92cf40c75e60";
};
inherit hotplugSupport;
udevSupport = hotplugSupport;
}