about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/wipe/default.nix
blob: 0d9653f27918a07e48a622c67db5597c78824000 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, stdenv, fetchurl }:

stdenv.mkDerivation rec {
  pname = "wipe";
  version = "2.3.1";

  src = fetchurl {
    url = "mirror://sourceforge/wipe/${version}/${pname}-${version}.tar.bz2";
    sha256 = "180snqvh6k6il6prb19fncflf2jcvkihlb4w84sbndcv1wvicfa6";
  };

  patches = [ ./fix-install.patch ];

  meta = with lib; {
    description = "Secure file wiping utility";
    mainProgram = "wipe";
    homepage    = "https://wipe.sourceforge.net/";
    license     = licenses.gpl2;
    platforms   = platforms.all;
    maintainers = [ maintainers.abbradar ];
  };
}