smartmontools: update drivedb file to trunk revision 3605
This commit is contained in:
parent
ba23852393
commit
f0bd33556f
@ -2,8 +2,9 @@
|
||||
|
||||
let
|
||||
driverdb = fetchurl {
|
||||
url = "http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/branches/RELEASE_5_43_DRIVEDB/smartmontools/drivedb.h?revision=3605";
|
||||
sha256 = "1kibx5aal903hcpy6mjmfik6n9j142i3q3vvrcp1wmz10mfsqj8f";
|
||||
url = "http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/trunk/smartmontools/drivedb.h?revision=3685";
|
||||
sha256 = "11zczy03asfpj4wwip5bf3fpingdc7biz1cs3cykg4vnlxiwjxkx";
|
||||
name = "smartmontools-drivedb.h";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
@ -14,7 +15,10 @@ stdenv.mkDerivation rec {
|
||||
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 = {
|
||||
description = "Tools for monitoring the health of hard drivers";
|
||||
|
Loading…
Reference in New Issue
Block a user