mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +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
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user