about summary refs log tree commit diff
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authorWill Dietz <github@wdtz.org>2019-01-01 12:02:47 -0600
committerxeji <36407913+xeji@users.noreply.github.com>2019-01-01 19:02:47 +0100
commit8f8c7ecc7fa0d6bdd7ced5c74e588b0ddd53f6e3 (patch)
treec6a17d33d1efddc7b94e9e90d3d1710a4a966498 /pkgs/tools/system
parent711a74c65a8c96c39e1f4331349ed60d0a3fdddf (diff)
downloadnixlib-8f8c7ecc7fa0d6bdd7ced5c74e588b0ddd53f6e3.tar
nixlib-8f8c7ecc7fa0d6bdd7ced5c74e588b0ddd53f6e3.tar.gz
nixlib-8f8c7ecc7fa0d6bdd7ced5c74e588b0ddd53f6e3.tar.bz2
nixlib-8f8c7ecc7fa0d6bdd7ced5c74e588b0ddd53f6e3.tar.lz
nixlib-8f8c7ecc7fa0d6bdd7ced5c74e588b0ddd53f6e3.tar.xz
nixlib-8f8c7ecc7fa0d6bdd7ced5c74e588b0ddd53f6e3.tar.zst
nixlib-8f8c7ecc7fa0d6bdd7ced5c74e588b0ddd53f6e3.zip
smartmontools: 6.6 -> 7.0 (#53115)
https://listi.jpberlin.de/pipermail/smartmontools-announce/2018-December/000001.html
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r--pkgs/tools/system/smartmontools/default.nix17
1 files changed, 5 insertions, 12 deletions
diff --git a/pkgs/tools/system/smartmontools/default.nix b/pkgs/tools/system/smartmontools/default.nix
index e8fbe90acde7..6c26855b9561 100644
--- a/pkgs/tools/system/smartmontools/default.nix
+++ b/pkgs/tools/system/smartmontools/default.nix
@@ -2,13 +2,13 @@
 , IOKit ? null , ApplicationServices ? null }:
 
 let
-  version = "6.6";
+  version = "7.0";
 
-  dbrev = "4852";
+  dbrev = "4883";
   drivedbBranch = "RELEASE_${builtins.replaceStrings ["."] ["_"] version}_DRIVEDB";
   driverdb = fetchurl {
     url    = "https://sourceforge.net/p/smartmontools/code/${dbrev}/tree/branches/${drivedbBranch}/smartmontools/drivedb.h?format=raw";
-    sha256 = "15gbwiw38yzl3cdvys6r7wknv5zdycm7zbswa2p9vzxlc8s63rlr";
+    sha256 = "07x3haz65jyhj579h4z17v6jkw6bbyid34442gl4qddmgv2qzvwx";
     name   = "smartmontools-drivedb.h";
   };
 
@@ -17,17 +17,10 @@ in stdenv.mkDerivation rec {
 
   src = fetchurl {
     url = "mirror://sourceforge/smartmontools/${name}.tar.gz";
-    sha256 = "0m1hllbb78rr6cxkbalmz1gqkl0psgq8rrmv4gwcmz34n07kvx2i";
+    sha256 = "077nx2rn9szrg6isdh0938zbp7vr3dsyxl4jdyyzv1xwhqksrqg5";
   };
 
-  patches = [ ./smartmontools.patch ]
-    # https://www.smartmontools.org/changeset/4603
-    ++ stdenv.lib.optional stdenv.hostPlatform.isMusl (fetchpatch {
-      name = "musl-canonicalize_file_name.patch";
-      url = "https://www.smartmontools.org/changeset/4603?format=diff&new=4603";
-      sha256 = "06s9pcd95snjkrbfrsjby2lln3lnwjd21bgabmvr4p7fx19b75zp";
-      stripLen = 2;
-    });
+  patches = [ ./smartmontools.patch ];
   postPatch = "cp -v ${driverdb} drivedb.h";
 
   nativeBuildInputs = [ autoreconfHook ];