2021-05-07 21:18:14 +00:00
|
|
|
{ fetchurl, lib, stdenv, smartmontools, autoreconfHook, gettext, gtkmm3, pkg-config, wrapGAppsHook, pcre-cpp, gnome }:
|
2012-10-12 00:45:42 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-28 14:01:57 +00:00
|
|
|
version="1.1.3";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gsmartcontrol";
|
2012-10-12 00:45:42 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-28 14:01:57 +00:00
|
|
|
url = "mirror://sourceforge/gsmartcontrol/gsmartcontrol-${version}.tar.bz2";
|
|
|
|
sha256 = "1a8j7dkml9zvgpk83xcdajfz7g6mmpmm5k86dl5sjc24zb7n4kxn";
|
2012-10-12 00:45:42 +00:00
|
|
|
};
|
|
|
|
|
2018-03-28 14:01:57 +00:00
|
|
|
patches = [
|
|
|
|
./fix-paths.patch
|
|
|
|
];
|
2012-10-12 00:45:42 +00:00
|
|
|
|
2021-01-17 03:51:22 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook gettext pkg-config wrapGAppsHook ];
|
2021-05-07 21:18:14 +00:00
|
|
|
buildInputs = [ gtkmm3 pcre-cpp gnome.adwaita-icon-theme ];
|
2018-03-28 14:01:57 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
gappsWrapperArgs+=(
|
2021-01-15 09:19:50 +00:00
|
|
|
--prefix PATH : "${lib.makeBinPath [ smartmontools ]}"
|
2018-03-28 14:01:57 +00:00
|
|
|
)
|
|
|
|
'';
|
2012-10-12 00:45:42 +00:00
|
|
|
|
|
|
|
meta = {
|
2013-10-06 09:49:53 +00: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.
|
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://gsmartcontrol.sourceforge.io/";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
maintainers = with lib.maintainers; [qknight];
|
|
|
|
platforms = with lib.platforms; linux;
|
2012-10-12 00:45:42 +00:00
|
|
|
};
|
|
|
|
}
|