1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/misc/sane-backends/default.nix
Armijn Hemel 9cb897da18 update to 1.0.17, put some stuff in place for hotplugging support...
svn path=/nixpkgs/trunk/; revision=4620
2006-01-30 15:29:26 +00:00

15 lines
464 B
Nix

{stdenv, fetchurl, hotplug ? null, hotplugSupport ? false}:
assert hotplugSupport -> hotplug != null;
assert hotplugSupport -> stdenv.system == "i686-linux";
stdenv.mkDerivation {
name = "sane-backends-1.0.17";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp3.sane-project.org/pub/sane/sane-backends-1.0.17/sane-backends-1.0.17.tar.gz;
md5 = "b51c10da8a81a04e1bae88c9e6556df2";
};
inherit (if hotplugSupport then hotplug else null);
}