diff options
author | David Kleuker <git@davidak.de> | 2015-10-02 21:39:16 +0200 |
---|---|---|
committer | David Kleuker <git@davidak.de> | 2015-10-11 21:20:55 +0200 |
commit | 3de09c6594d43314037357d7e26a5b8af3e661b7 (patch) | |
tree | 85815ea183c544fb462897f2cdab0146069d736a /pkgs/tools/security/nasty | |
parent | 423613129505299ee0779863cd759c0afb31ce24 (diff) |
nasty: init at 0.6
Diffstat (limited to 'pkgs/tools/security/nasty')
-rw-r--r-- | pkgs/tools/security/nasty/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/security/nasty/default.nix b/pkgs/tools/security/nasty/default.nix new file mode 100644 index 0000000000000..6952ccc8ac455 --- /dev/null +++ b/pkgs/tools/security/nasty/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchurl, gpgme }: + +stdenv.mkDerivation rec { + name = "nasty-${version}"; + version = "0.6"; + + src = fetchurl { + url = "http://www.vanheusden.com/nasty/${name}.tgz"; + sha256 = "1dznlxr728k1pgy1kwmlm7ivyl3j3rlvkmq34qpwbwbj8rnja1vn"; + }; + + buildInputs = [ gpgme ]; + + installPhase = '' + mkdir -p $out/bin + cp nasty $out/bin + ''; + + meta = with stdenv.lib; { + description = "Recover the passphrase of your PGP or GPG-key"; + longDescription = '' + Nasty is a program that helps you to recover the passphrase of your PGP or GPG-key + in case you forget or lost it. It is mostly a proof-of-concept: with a different implementation + this program could be at least 100x faster. + ''; + homepage = http://www.vanheusden.com/nasty/; + license = licenses.gpl2; + maintainers = with maintainers; davidak; + platforms = with platforms; unix; + }; +} + |