diff options
author | Armijn Hemel <armijn@gpl-violations.org> | 2006-01-30 15:29:26 +0000 |
---|---|---|
committer | Armijn Hemel <armijn@gpl-violations.org> | 2006-01-30 15:29:26 +0000 |
commit | 9cb897da18dc4ce4f4fe9309f35f8074463faaf7 (patch) | |
tree | 1c113a8b499eaafa67d5ba8d3f16a117db67706d /pkgs | |
parent | accbe1d1a74acbf2d56a55b141bb566068064994 (diff) |
update to 1.0.17, put some stuff in place for hotplugging support...
svn path=/nixpkgs/trunk/; revision=4620
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/misc/sane-backends/builder.sh | 3 | ||||
-rw-r--r-- | pkgs/misc/sane-backends/default.nix | 13 |
2 files changed, 12 insertions, 4 deletions
diff --git a/pkgs/misc/sane-backends/builder.sh b/pkgs/misc/sane-backends/builder.sh new file mode 100644 index 0000000000000..0b61d421abc42 --- /dev/null +++ b/pkgs/misc/sane-backends/builder.sh @@ -0,0 +1,3 @@ +source $stdenv/setup + +genericBuild diff --git a/pkgs/misc/sane-backends/default.nix b/pkgs/misc/sane-backends/default.nix index e3c9d2bbe3f99..dca6da31cd0ef 100644 --- a/pkgs/misc/sane-backends/default.nix +++ b/pkgs/misc/sane-backends/default.nix @@ -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); } |