Merge pull request #81099 from Frostman/smartmontools-7.1
smartmontools: 7.0 -> 7.1 and devicedb updated to latest
This commit is contained in:
commit
c8f7c0a4dd
@ -2,13 +2,13 @@
|
|||||||
, IOKit ? null , ApplicationServices ? null }:
|
, IOKit ? null , ApplicationServices ? null }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "7.0";
|
version = "7.1";
|
||||||
|
|
||||||
dbrev = "4883";
|
dbrev = "5033";
|
||||||
drivedbBranch = "RELEASE_${builtins.replaceStrings ["."] ["_"] version}_DRIVEDB";
|
drivedbBranch = "RELEASE_7_0_DRIVEDB";
|
||||||
driverdb = fetchurl {
|
driverdb = fetchurl {
|
||||||
url = "https://sourceforge.net/p/smartmontools/code/${dbrev}/tree/branches/${drivedbBranch}/smartmontools/drivedb.h?format=raw";
|
url = "https://sourceforge.net/p/smartmontools/code/${dbrev}/tree/branches/${drivedbBranch}/smartmontools/drivedb.h?format=raw";
|
||||||
sha256 = "07x3haz65jyhj579h4z17v6jkw6bbyid34442gl4qddmgv2qzvwx";
|
sha256 = "029j118lwiazn56vg6d3i7ayv73wrpv1fypw3ff4nd4hgs2mlcrg";
|
||||||
name = "smartmontools-drivedb.h";
|
name = "smartmontools-drivedb.h";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -18,7 +18,7 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/smartmontools/${pname}-${version}.tar.gz";
|
url = "mirror://sourceforge/smartmontools/${pname}-${version}.tar.gz";
|
||||||
sha256 = "077nx2rn9szrg6isdh0938zbp7vr3dsyxl4jdyyzv1xwhqksrqg5";
|
sha256 = "0imqb7ka4ia5573w8rnpck571pjjc9698pdjcapy9cfyk4n4swrz";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./smartmontools.patch ];
|
patches = [ ./smartmontools.patch ];
|
||||||
@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
|
|||||||
description = "Tools for monitoring the health of hard drives";
|
description = "Tools for monitoring the health of hard drives";
|
||||||
homepage = https://www.smartmontools.org/;
|
homepage = https://www.smartmontools.org/;
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with maintainers; [ peti ];
|
maintainers = with maintainers; [ peti Frostman ];
|
||||||
platforms = with platforms; linux ++ darwin;
|
platforms = with platforms; linux ++ darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user