mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 01:04:25 +00:00
3389f4bc36
svn path=/nixpkgs/trunk/; revision=4623
15 lines
440 B
Nix
15 lines
440 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 = http://nix.cs.uu.nl/dist/tarballs/sane-backends-1.0.17.tar.gz;
|
|
md5 = "b51c10da8a81a04e1bae88c9e6556df2";
|
|
};
|
|
inherit (if hotplugSupport then hotplug else null);
|
|
}
|