mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 19:23:50 +00:00
diskscan: init at 0.19
This commit is contained in:
parent
6651c72df1
commit
6b2ea7ec6e
25
pkgs/tools/misc/diskscan/default.nix
Normal file
25
pkgs/tools/misc/diskscan/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
@ -816,6 +816,8 @@ with pkgs;
|
||||
|
||||
discount = callPackage ../tools/text/discount { };
|
||||
|
||||
diskscan = callPackage ../tools/misc/diskscan { };
|
||||
|
||||
disorderfs = callPackage ../tools/filesystems/disorderfs {
|
||||
asciidoc = asciidoc-full;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user