tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
wipe: add package
Nikolay Amiantov
11 years ago
0f2af778
b31ac058
+41
3 changed files
expand all
collapse all
unified
split
pkgs
tools
security
wipe
default.nix
fix-install.patch
top-level
all-packages.nix
+21
pkgs/tools/security/wipe/default.nix
reviewed
···
1
1
+
{ stdenv, fetchurl }:
2
2
+
3
3
+
stdenv.mkDerivation rec {
4
4
+
name = "wipe-${version}";
5
5
+
version = "2.3.1";
6
6
+
7
7
+
src = fetchurl {
8
8
+
url = "mirror://sourceforge/wipe/${version}/${name}.tar.bz2";
9
9
+
sha256 = "180snqvh6k6il6prb19fncflf2jcvkihlb4w84sbndcv1wvicfa6";
10
10
+
};
11
11
+
12
12
+
patches = [ ./fix-install.patch ];
13
13
+
14
14
+
meta = with stdenv.lib; {
15
15
+
description = "Secure file wiping utility";
16
16
+
homepage = http://wipe.sourceforge.net/;
17
17
+
license = licenses.gpl2;
18
18
+
platforms = platforms.linux;
19
19
+
maintainers = [ maintainers.abbradar ];
20
20
+
};
21
21
+
}
+18
pkgs/tools/security/wipe/fix-install.patch
reviewed
···
1
1
+
diff -ru3 wipe-2.3.1/Makefile.in wipe-2.3.1-new/Makefile.in
2
2
+
--- wipe-2.3.1/Makefile.in 2009-11-02 00:11:30.000000000 +0300
3
3
+
+++ wipe-2.3.1-new/Makefile.in 2014-10-18 02:51:10.088966232 +0400
4
4
+
@@ -60,12 +60,12 @@
5
5
+
$(INSTALL_BIN) -d $(bindir)
6
6
+
$(INSTALL_BIN) -s $(BIN_OUT) $(bindir)
7
7
+
$(INSTALL) -d $(mandir)/man1
8
8
+
- $(INSTALL) -o root -m 0644 wipe.1 $(mandir)/man1/
9
9
+
+ $(INSTALL) -m 0644 wipe.1 $(mandir)/man1/
10
10
+
rm -rf $(datadir)/doc/wipe*
11
11
+
$(INSTALL) -d $(datadir)/doc/wipe
12
12
+
13
13
+
for file in $(DOCS); do \
14
14
+
- $(INSTALL) -o root -m 0644 $$file $(datadir)/doc/wipe/; \
15
15
+
+ $(INSTALL) -m 0644 $$file $(datadir)/doc/wipe/; \
16
16
+
done
17
17
+
18
18
+
install_home: $(BIN_OUT)
+2
pkgs/top-level/all-packages.nix
reviewed
···
2643
2643
2644
2644
wicd = callPackage ../tools/networking/wicd { };
2645
2645
2646
2646
+
wipe = callPackage ../tools/security/wipe { };
2647
2647
+
2646
2648
wkhtmltopdf = callPackage ../tools/graphics/wkhtmltopdf {
2647
2649
overrideDerivation = lib.overrideDerivation;
2648
2650
inherit (xlibs) libX11 libXext libXrender;