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 source $stdenv/setup
postInstall() { postInstall() {
if test "$hotplugSupport" = "1" ; then if test "$udevSupport" = "1" ; then
ensureDir $out/etc/hotplug/usb/ ensureDir $out/etc/udev/rules.d/
cp tools/hotplug/* $out/etc/hotplug/usb/ cp tools/udev/libsane.rules $out/etc/udev/rules.d/60-libsane.rules
fi fi
} }

View File

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