Merge pull request #81099 from Frostman/smartmontools-7.1

smartmontools: 7.0 -> 7.1 and devicedb updated to latest
This commit is contained in:
Andreas Rammhold 2020-02-29 19:42:42 +01:00 committed by GitHub
commit c8f7c0a4dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,13 +2,13 @@
, IOKit ? null , ApplicationServices ? null }:
let
version = "7.0";
version = "7.1";
dbrev = "4883";
drivedbBranch = "RELEASE_${builtins.replaceStrings ["."] ["_"] version}_DRIVEDB";
dbrev = "5033";
drivedbBranch = "RELEASE_7_0_DRIVEDB";
driverdb = fetchurl {
url = "https://sourceforge.net/p/smartmontools/code/${dbrev}/tree/branches/${drivedbBranch}/smartmontools/drivedb.h?format=raw";
sha256 = "07x3haz65jyhj579h4z17v6jkw6bbyid34442gl4qddmgv2qzvwx";
sha256 = "029j118lwiazn56vg6d3i7ayv73wrpv1fypw3ff4nd4hgs2mlcrg";
name = "smartmontools-drivedb.h";
};
@ -18,7 +18,7 @@ in stdenv.mkDerivation rec {
src = fetchurl {
url = "mirror://sourceforge/smartmontools/${pname}-${version}.tar.gz";
sha256 = "077nx2rn9szrg6isdh0938zbp7vr3dsyxl4jdyyzv1xwhqksrqg5";
sha256 = "0imqb7ka4ia5573w8rnpck571pjjc9698pdjcapy9cfyk4n4swrz";
};
patches = [ ./smartmontools.patch ];
@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
description = "Tools for monitoring the health of hard drives";
homepage = https://www.smartmontools.org/;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ peti ];
maintainers = with maintainers; [ peti Frostman ];
platforms = with platforms; linux ++ darwin;
};
}