nixpkgs/pkgs/tools/security/wipe/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

23 lines
567 B
Nix

{ 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 ];
};
}