From 4f6b248e16ea33287bfc337bc6486a72189066d1 Mon Sep 17 00:00:00 2001 From: Rickard Nilsson Date: Wed, 28 Aug 2013 16:57:52 +0200 Subject: [PATCH] smartmontools: Update driverdb to r3849, and fix broken url --- pkgs/tools/system/smartmontools/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/system/smartmontools/default.nix b/pkgs/tools/system/smartmontools/default.nix index be34fc52c7a..0290d1961ce 100644 --- a/pkgs/tools/system/smartmontools/default.nix +++ b/pkgs/tools/system/smartmontools/default.nix @@ -1,9 +1,10 @@ { stdenv, fetchurl }: let + dbrev = "3849"; driverdb = fetchurl { - url = "http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/trunk/smartmontools/drivedb.h?revision=3812"; - sha256 = "1x22ammjwlb7p3cmd13shqq1payb7nr9pgfa9xifs19qyr77mrwp"; + url = "http://sourceforge.net/p/smartmontools/code/${dbrev}/tree/trunk/smartmontools/drivedb.h?format=raw"; + sha256 = "06c1cl0x4sq64l3rmd5rk8wsbggjixphpgj0kf4awqhjgsi102xz"; name = "smartmontools-drivedb.h"; }; in