504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
28 lines
738 B
Nix
28 lines
738 B
Nix
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "scrub";
|
|
version = "2.6.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "chaos";
|
|
repo = "scrub";
|
|
rev = version;
|
|
sha256 = "0ndcri2ddzqlsxvy1b607ajyd4dxpiagzx331yyi7hf3ijph129f";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoconf automake ];
|
|
buildInputs = [ libtool ];
|
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
meta = with lib; {
|
|
description = "Disk overwrite utility";
|
|
homepage = "https://github.com/chaos/scrub";
|
|
changelog = "https://raw.githubusercontent.com/chaos/scrub/master/NEWS";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ j0hax ];
|
|
platforms = platforms.unix;
|
|
mainProgram = "scrub";
|
|
};
|
|
}
|