mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:21:57 +03:00
update to 1.0.17, put some stuff in place for hotplugging support...
svn path=/nixpkgs/trunk/; revision=4620
This commit is contained in:
parent
accbe1d1a7
commit
9cb897da18
3
pkgs/misc/sane-backends/builder.sh
Normal file
3
pkgs/misc/sane-backends/builder.sh
Normal file
@ -0,0 +1,3 @@
|
||||
source $stdenv/setup
|
||||
|
||||
genericBuild
|
@ -1,9 +1,14 @@
|
||||
{stdenv, fetchurl}:
|
||||
{stdenv, fetchurl, hotplug ? null, hotplugSupport ? false}:
|
||||
|
||||
assert hotplugSupport -> hotplug != null;
|
||||
assert hotplugSupport -> stdenv.system == "i686-linux";
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "sane-backends-1.0.16";
|
||||
name = "sane-backends-1.0.17";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://ftp3.sane-project.org/pub/sane/old-versions/sane-backends-1.0.16/sane-backends-1.0.16.tar.gz;
|
||||
md5 = "bec9b9262246316b4ebfe2bc7451aa28";
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user