3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/diskscan/default.nix
Pascal Wittmann f611b23aee
diskscan: add license
see issue #43716
2018-08-05 16:28:41 +02:00

27 lines
671 B
Nix

{ stdenv, fetchFromGitHub, cmake, ncurses, zlib }:
stdenv.mkDerivation rec {
name = "diskscan-${version}";
version = "0.20";
src = fetchFromGitHub {
owner = "baruch";
repo = "diskscan";
rev = "${version}";
sha256 = "1s2df082yrnr3gqnapdsqz0yd0ld75bin37g0rms83ymzkh4ysgv";
};
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;
license = licenses.gpl3;
};
}