summary refs log tree commit diff
diff options
context:
space:
mode:
authorRickard Nilsson <rickynils@gmail.com>2013-08-28 16:57:52 +0200
committerRickard Nilsson <rickynils@gmail.com>2013-08-28 16:58:07 +0200
commit4f6b248e16ea33287bfc337bc6486a72189066d1 (patch)
tree48b712ed533eca1f2f6c80b08ff1a26c46ab236a
parentdc5843399d6e0362598c9afa1fcb70c5436188a0 (diff)
downloadnixlib-4f6b248e16ea33287bfc337bc6486a72189066d1.tar
nixlib-4f6b248e16ea33287bfc337bc6486a72189066d1.tar.gz
nixlib-4f6b248e16ea33287bfc337bc6486a72189066d1.tar.bz2
nixlib-4f6b248e16ea33287bfc337bc6486a72189066d1.tar.lz
nixlib-4f6b248e16ea33287bfc337bc6486a72189066d1.tar.xz
nixlib-4f6b248e16ea33287bfc337bc6486a72189066d1.tar.zst
nixlib-4f6b248e16ea33287bfc337bc6486a72189066d1.zip
smartmontools: Update driverdb to r3849, and fix broken url
-rw-r--r--pkgs/tools/system/smartmontools/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/system/smartmontools/default.nix b/pkgs/tools/system/smartmontools/default.nix
index be34fc52c7aa..0290d1961ce5 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