1 { lib, stdenv, fetchFromGitHub, autoconf, automake, libtool }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "0ndcri2ddzqlsxvy1b607ajyd4dxpiagzx331yyi7hf3ijph129f";
14 nativeBuildInputs = [ autoconf automake ];
15 buildInputs = [ libtool ];
17 preConfigure = "./autogen.sh";
20 description = "Disk overwrite utility";
21 homepage = "https://github.com/chaos/scrub";
22 changelog = "https://raw.githubusercontent.com/chaos/scrub/master/NEWS";
23 license = licenses.gpl2Plus;
24 maintainers = with maintainers; [ j0hax ];
25 platforms = platforms.unix;
26 mainProgram = "scrub";