2017-02-08 03:12:16 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, ncurses, zlib }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "diskscan";
|
2018-02-26 05:02:33 +01:00
|
|
|
version = "0.20";
|
2017-02-08 03:12:16 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "baruch";
|
|
|
|
repo = "diskscan";
|
2019-09-09 01:38:31 +02:00
|
|
|
rev = version;
|
2018-02-26 05:02:33 +01:00
|
|
|
sha256 = "1s2df082yrnr3gqnapdsqz0yd0ld75bin37g0rms83ymzkh4ysgv";
|
2017-02-08 03:12:16 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses zlib ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/baruch/diskscan;
|
|
|
|
description = "Scan HDD/SSD for failed and near failed sectors";
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
inherit version;
|
2018-08-05 16:28:41 +02:00
|
|
|
license = licenses.gpl3;
|
2017-02-08 03:12:16 +01:00
|
|
|
};
|
|
|
|
}
|