1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

smartmontools: 7.0 -> 7.1 and devicedb updated to latest

This commit is contained in:
Sergey Lukjanov 2020-02-25 22:46:05 -08:00
parent 3a0da440a3
commit 38b0c55601

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 ];