mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
1.0.17 -> 1.0.18
hotplug -> udev svn path=/nixpkgs/trunk/; revision=6001
This commit is contained in:
parent
0dbb937565
commit
4dca405b3d
@ -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
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user