nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

wipe: add package

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