nixpkgs/pkgs/tools/misc/gsmartcontrol/default.nix

34 lines
1.1 KiB
Nix
Raw Normal View History

{ fetchurl, stdenv, smartmontools, gtkmm2, libglademm, pkgconfig, pcre }:
2012-10-12 01:45:42 +01:00
stdenv.mkDerivation rec {
version="0.8.7";
name = "gsmartcontrol-${version}";
2012-10-12 01:45:42 +01:00
src = fetchurl {
url = "http://artificialtime.com/gsmartcontrol/gsmartcontrol-${version}.tar.bz2";
sha256 = "1ipykzqpfvlr84j38hr7q2cag4imrn1gql10slp8bfrs4h1si3vh";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ smartmontools gtkmm2 libglademm pcre ];
2012-10-12 01:45:42 +01:00
#installTargets = "install datainstall";
meta = {
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.
'';
homepage = http://gsmartcontrol.sourceforge.net/;
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;
};
}