Skip to content

Commit 497e04a

Browse files
committedJul 31, 2017
smartmontools: use slightly newer drive DB
1 parent 9d2da6a commit 497e04a

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed
 
+13-13
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
1-
{ stdenv, fetchurl, IOKit ? null , ApplicationServices ? null }:
1+
{ stdenv, fetchurl, autoreconfHook
2+
, IOKit ? null , ApplicationServices ? null }:
23

34
let
4-
55
version = "6.5";
66

7-
dbrev = "4391";
7+
dbrev = "4394";
88
drivedbBranch = "RELEASE_${builtins.replaceStrings ["."] ["_"] version}_DRIVEDB";
99
driverdb = fetchurl {
1010
url = "http://sourceforge.net/p/smartmontools/code/${dbrev}/tree/branches/${drivedbBranch}/smartmontools/drivedb.h?format=raw";
11-
sha256 = "1da99m81wr0rjdhcz2xx0sbbrqxkxffja2kllg4srmhih7fps5p1";
11+
sha256 = "1kdpgbl1az0xhqn7j613cx366n7amra8xz3391jpzzrd3vlga393";
1212
name = "smartmontools-drivedb.h";
1313
};
1414

15-
in
16-
17-
stdenv.mkDerivation rec {
15+
in stdenv.mkDerivation rec {
1816
name = "smartmontools-${version}";
1917

2018
src = fetchurl {
2119
url = "mirror://sourceforge/smartmontools/${name}.tar.gz";
2220
sha256 = "1g25r6sx85b5lay5n6sbnqv05qxzj6xsafsp93hnrg1h044bps49";
2321
};
2422

25-
buildInputs = [] ++ stdenv.lib.optionals stdenv.isDarwin [IOKit ApplicationServices];
26-
2723
patches = [ ./smartmontools.patch ];
2824
postPatch = "cp -v ${driverdb} drivedb.h";
2925

26+
nativeBuildInputs = [ autoreconfHook ];
27+
buildInputs = [] ++ stdenv.lib.optionals stdenv.isDarwin [IOKit ApplicationServices];
28+
enableParallelBuilding = true;
29+
3030
meta = with stdenv.lib; {
3131
description = "Tools for monitoring the health of hard drives";
32-
homepage = http://smartmontools.sourceforge.net/;
33-
license = licenses.gpl2Plus;
34-
platforms = with platforms; linux ++ darwin;
35-
maintainers = [ maintainers.peti ];
32+
homepage = http://smartmontools.sourceforge.net/;
33+
license = licenses.gpl2Plus;
34+
maintainers = with maintainers; [ peti ];
35+
platforms = with platforms; linux ++ darwin;
3636
};
3737
}

0 commit comments

Comments
 (0)
Please sign in to comment.