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

26 lines
635 B
Nix
Raw Normal View History

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