smartmontools: update drivedb file to trunk revision 3605

This commit is contained in:
Peter Simons 2012-11-20 11:16:32 +01:00
parent ba23852393
commit f0bd33556f

View File

@ -2,8 +2,9 @@
let let
driverdb = fetchurl { driverdb = fetchurl {
url = "http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/branches/RELEASE_5_43_DRIVEDB/smartmontools/drivedb.h?revision=3605"; url = "http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/trunk/smartmontools/drivedb.h?revision=3685";
sha256 = "1kibx5aal903hcpy6mjmfik6n9j142i3q3vvrcp1wmz10mfsqj8f"; sha256 = "11zczy03asfpj4wwip5bf3fpingdc7biz1cs3cykg4vnlxiwjxkx";
name = "smartmontools-drivedb.h";
}; };
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -14,7 +15,10 @@ stdenv.mkDerivation rec {
sha256 = "9fe4ff2b7bcd00fde19db82bba168f5462ed6e857d3ef439495e304e3231d3a6"; sha256 = "9fe4ff2b7bcd00fde19db82bba168f5462ed6e857d3ef439495e304e3231d3a6";
}; };
# patchPhase = "cp ${driverdb} drivedb.h"; patchPhase = ''
cp ${driverdb} drivedb.h
sed -i -e 's@which which >/dev/null || exit 1@alias which="type -p"@' update-smart-drivedb.in
'';
meta = { meta = {
description = "Tools for monitoring the health of hard drivers"; description = "Tools for monitoring the health of hard drivers";