1{ fetchurl, stdenv, smartmontools, gtk, gtkmm, libglademm, pkgconfig, pcre }:
2
3stdenv.mkDerivation rec {
4 version="0.8.7";
5 name = "gsmartcontrol-${version}";
6
7 src = fetchurl {
8 url = "http://artificialtime.com/gsmartcontrol/gsmartcontrol-${version}.tar.bz2";
9 sha256 = "1ipykzqpfvlr84j38hr7q2cag4imrn1gql10slp8bfrs4h1si3vh";
10 };
11
12 buildInputs = [ smartmontools gtk gtkmm libglademm pkgconfig pcre ];
13
14 #installTargets = "install datainstall";
15
16 meta = {
17 description = "Hard disk drive health inspection tool";
18 longDescription = ''
19 GSmartControl is a graphical user interface for smartctl (from
20 smartmontools package), which is a tool for querying and controlling
21 SMART (Self-Monitoring, Analysis, and Reporting Technology) data on
22 modern hard disk drives.
23
24 It allows you to inspect the drive's SMART data to determine its health,
25 as well as run various tests on it.
26 '';
27 homepage = http://gsmartcontrol.sourceforge.net/;
28 license = stdenv.lib.licenses.gpl2Plus;
29 maintainers = with stdenv.lib.maintainers; [qknight];
30 platforms = with stdenv.lib.platforms; linux;
31 };
32}