btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / wi / wipe / package.nix
blobe41e22c3a25dba05d0ba9a48a0d6b3d95b81c32b
1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
4   pname = "wipe";
5   version = "2.3.1";
7   src = fetchurl {
8     url = "mirror://sourceforge/wipe/${version}/${pname}-${version}.tar.bz2";
9     sha256 = "180snqvh6k6il6prb19fncflf2jcvkihlb4w84sbndcv1wvicfa6";
10   };
12   patches = [ ./fix-install.patch ];
14   meta = with lib; {
15     description = "Secure file wiping utility";
16     mainProgram = "wipe";
17     homepage    = "https://wipe.sourceforge.net/";
18     license     = licenses.gpl2Plus;
19     platforms   = platforms.all;
20     maintainers = [ maintainers.abbradar ];
21   };