1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 19:26:02 +00:00
nixpkgs/pkgs/tools/misc/diskscan/default.nix
Ryan Mulligan 82062bfe36 diskscan: 0.19 -> 0.20
Semi-automatic update. These checks were performed:

- built on NixOS
- found 0.20 with grep in /nix/store/67w1bnhfjsv15cb68bjk3zppzhynw1ip-diskscan-0.20
- found 0.20 in filename of file in /nix/store/67w1bnhfjsv15cb68bjk3zppzhynw1ip-diskscan-0.20
2018-02-25 20:02:33 -08:00

26 lines
642 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;
};
}