[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/16: gnu: Add nwipe.
From: |
guix-commits |
Subject: |
08/16: gnu: Add nwipe. |
Date: |
Wed, 14 Jun 2023 17:50:04 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit d8f90af39f0ac0e57ac2b0479f43709b7ad44ecd
Author: Timotej Lazar <timotej.lazar@araneo.si>
AuthorDate: Tue May 23 16:25:28 2023 +0200
gnu: Add nwipe.
* gnu/packages/disk.scm (nwipe): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/disk.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 894a542171..abbc87a95a 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -25,6 +25,7 @@
;;; Copyright © 2014, 2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022 Disseminate Dissent <disseminatedissent@protonmail.com>
+;;; Copyright © 2023 Timotej Lazar <timotej.lazar@araneo.si>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -43,6 +44,7 @@
(define-module (gnu packages disk)
#:use-module (gnu packages)
+ #:use-module (gnu packages admin)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
@@ -1502,6 +1504,46 @@ gone and to help you to clean it up.")
(home-page "https://github.com/shundhammer/qdirstat")
(license license:gpl2)))
+(define-public nwipe
+ (package
+ (name "nwipe")
+ (version "0.34")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/martijnvanbrummelen/nwipe")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1frwjgz4mpzwr9sigr693crmxsjl08wcikh6ik7dm0x40l1kqqpd"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'wrap
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (wrap-program (search-input-file outputs "bin/nwipe")
+ (list "PATH" ":" 'prefix
+ (map (lambda (p) (dirname (search-input-file inputs
p)))
+ '("sbin/dmidecode"
+ "sbin/hdparm"
+ "sbin/smartctl")))))))))
+ (inputs
+ (list bash-minimal dmidecode hdparm ncurses parted smartmontools))
+ (native-inputs
+ (list autoconf automake libtool pkg-config))
+ (home-page "https://github.com/martijnvanbrummelen/nwipe")
+ (synopsis "Secure disk wiping utility")
+ (description
+ "@command{nwipe} securely erases disks using a variety of methods to
+ensure the data cannot be recovered. It can wipe multiple drives in parallel
+and can be used noninteractively or with a text-based user interface.")
+ (license
+ (list license:gpl2
+ license:bsd-3 ; mt19937ar-cok
+ license:public-domain)))) ; {isaac_rand,PDFGen}
+
(define-public wipe
(package
(name "wipe")
- branch master updated (09449ef6f6 -> 26602f4063), guix-commits, 2023/06/14
- 03/16: gnu: cuirass: Use guile-fibers 1.3.1., guix-commits, 2023/06/14
- 02/16: gnu: shepherd@0.10: Use guile-fibers 1.3.1., guix-commits, 2023/06/14
- 05/16: gnu: gnunet-scheme: Use guile-fibers 1.3.1., guix-commits, 2023/06/14
- 07/16: gnu: libtree: fix building on non-x86 systems., guix-commits, 2023/06/14
- 08/16: gnu: Add nwipe.,
guix-commits <=
- 14/16: gnu: browserpass-native: Use new package style., guix-commits, 2023/06/14
- 06/16: packages: 'package-transitive-supported-systems' detects cycles., guix-commits, 2023/06/14
- 04/16: gnu: guile-fibers: Remove 'guile-fibers-next'., guix-commits, 2023/06/14
- 09/16: gnu: Add bdf2sfd., guix-commits, 2023/06/14
- 11/16: gnu: gnushogi: Fix build., guix-commits, 2023/06/14
- 10/16: gnu: Add pngcheck., guix-commits, 2023/06/14
- 15/16: gnu: guile-netlink: Update to 1.2., guix-commits, 2023/06/14
- 13/16: gnu: browserpass-native: Update to 3.1.0., guix-commits, 2023/06/14
- 12/16: gnu: Add systemtap, guix-commits, 2023/06/14
- 01/16: gnu: guile-fibers: Add 1.3.1., guix-commits, 2023/06/14