nixpkgs/pkgs/tools/security/phrasendrescher/default.nix
R. RyanTM b5e4b3879c phrasendrescher: 1.0 -> 1.2.2c (#46215)
* phrasendrescher: 1.0 -> 1.2.2b

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
phrasendrescher

* phrasendrescher: 1.2.2b -> 1.2.2c
and refactor
2019-05-05 22:55:11 +02:00

29 lines
795 B
Nix

{ stdenv, fetchurl, openssl, libssh2, gpgme }:
stdenv.mkDerivation rec {
pname = "phrasendrescher";
version = "1.2.2c";
src = fetchurl {
url = "http://leidecker.info/projects/${pname}/${pname}-${version}.tar.gz";
sha256 = "18vg6h294219v14x5zqm8ddmq5amxlbz7pw81lcmpz8v678kwyph";
};
postPatch = ''
substituteInPlace configure \
--replace 'SSL_LIB="ssl"' 'SSL_LIB="crypto"'
'';
buildInputs = [ openssl libssh2 gpgme ];
configureFlags = "--with-plugins";
meta = with stdenv.lib; {
description = "A modular and multi processing pass phrase cracking tool";
homepage = "http://leidecker.info/projects/phrasendrescher/index.shtml";
license = licenses.gpl2Plus;
platforms = platforms.all;
maintainers = with maintainers; [ bjornfor ];
};
}