2018-03-28 15:01:57 +01:00
|
|
|
{ fetchurl, stdenv, smartmontools, autoreconfHook, gettext, gtkmm3, pkgconfig, wrapGAppsHook, pcre-cpp, gnome3 }:
|
2012-10-12 01:45:42 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-28 15:01:57 +01:00
|
|
|
version="1.1.3";
|
2013-06-07 01:13:54 +01:00
|
|
|
name = "gsmartcontrol-${version}";
|
2012-10-12 01:45:42 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-28 15:01:57 +01:00
|
|
|
url = "mirror://sourceforge/gsmartcontrol/gsmartcontrol-${version}.tar.bz2";
|
|
|
|
sha256 = "1a8j7dkml9zvgpk83xcdajfz7g6mmpmm5k86dl5sjc24zb7n4kxn";
|
2012-10-12 01:45:42 +01:00
|
|
|
};
|
|
|
|
|
2018-03-28 15:01:57 +01:00
|
|
|
patches = [
|
|
|
|
./fix-paths.patch
|
|
|
|
];
|
2012-10-12 01:45:42 +01:00
|
|
|
|
2018-03-28 15:01:57 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook gettext pkgconfig wrapGAppsHook ];
|
|
|
|
buildInputs = [ gtkmm3 pcre-cpp gnome3.adwaita-icon-theme ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
gappsWrapperArgs+=(
|
|
|
|
--prefix PATH : "${stdenv.lib.makeBinPath [ smartmontools ]}"
|
|
|
|
)
|
|
|
|
'';
|
2012-10-12 01:45:42 +01:00
|
|
|
|
|
|
|
meta = {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Hard disk drive health inspection tool";
|
|
|
|
longDescription = ''
|
|
|
|
GSmartControl is a graphical user interface for smartctl (from
|
|
|
|
smartmontools package), which is a tool for querying and controlling
|
|
|
|
SMART (Self-Monitoring, Analysis, and Reporting Technology) data on
|
|
|
|
modern hard disk drives.
|
|
|
|
|
|
|
|
It allows you to inspect the drive's SMART data to determine its health,
|
|
|
|
as well as run various tests on it.
|
|
|
|
'';
|
2018-03-28 15:01:57 +01:00
|
|
|
homepage = https://gsmartcontrol.sourceforge.io/;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2012-10-12 01:45:42 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [qknight];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|