1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/tools/misc/diskscan/default.nix
2017-02-12 03:51:13 +01:00

26 lines
642 B
Nix

{ stdenv, fetchFromGitHub, cmake, ncurses, zlib }:
stdenv.mkDerivation rec {
name = "diskscan-${version}";
version = "0.19";
src = fetchFromGitHub {
owner = "baruch";
repo = "diskscan";
rev = "${version}";
sha256 = "0yqpaxfahbjr8hr9xw7nngncwigy7yncdwnyp5wy9s9wdp8mrjra";
};
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;
};
}