summary refs log tree commit diff
path: root/pkgs/tools/misc/scrub
diff options
context:
space:
mode:
authorJohannes Arnold <johannes.arnold@stud.uni-hannover.de>2022-02-11 22:05:08 +0100
committerJohannes Arnold <johannes.arnold@stud.uni-hannover.de>2022-02-11 22:19:58 +0100
commit5b5496f7f907cf733fb65cb7e1a75f5299e37aad (patch)
treed6262c47dbe9b45bb8c4d4014e6914efac0aca36 /pkgs/tools/misc/scrub
parentc5d24d096c15127dfbbb00d3c4875c78a09b7518 (diff)
downloadnixpkgs-5b5496f7f907cf733fb65cb7e1a75f5299e37aad.tar
nixpkgs-5b5496f7f907cf733fb65cb7e1a75f5299e37aad.tar.gz
nixpkgs-5b5496f7f907cf733fb65cb7e1a75f5299e37aad.tar.bz2
nixpkgs-5b5496f7f907cf733fb65cb7e1a75f5299e37aad.tar.lz
nixpkgs-5b5496f7f907cf733fb65cb7e1a75f5299e37aad.tar.xz
nixpkgs-5b5496f7f907cf733fb65cb7e1a75f5299e37aad.tar.zst
nixpkgs-5b5496f7f907cf733fb65cb7e1a75f5299e37aad.zip
scrub: init at 2.6.1
Diffstat (limited to 'pkgs/tools/misc/scrub')
-rw-r--r--pkgs/tools/misc/scrub/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/misc/scrub/default.nix b/pkgs/tools/misc/scrub/default.nix
new file mode 100644
index 00000000000..baa3732b584
--- /dev/null
+++ b/pkgs/tools/misc/scrub/default.nix
@@ -0,0 +1,26 @@
+{ 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";
+  };
+
+  buildInputs = [ autoconf automake 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;
+  };
+}