lol
1{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool }:
2
3stdenv.mkDerivation rec {
4 pname = "scrub";
5 version = "2.6.1";
6
7 src = fetchFromGitHub {
8 owner = "chaos";
9 repo = "scrub";
10 rev = version;
11 sha256 = "0ndcri2ddzqlsxvy1b607ajyd4dxpiagzx331yyi7hf3ijph129f";
12 };
13
14 nativeBuildInputs = [ autoconf automake ];
15 buildInputs = [ libtool ];
16
17 preConfigure = "./autogen.sh";
18
19 meta = with lib; {
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 };
27}