Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, openssl, libssh2, gpgme }: 2 3stdenv.mkDerivation rec { 4 pname = "phrasendrescher"; 5 version = "1.2.2c"; 6 7 src = fetchurl { 8 url = "http://leidecker.info/projects/${pname}/${pname}-${version}.tar.gz"; 9 sha256 = "18vg6h294219v14x5zqm8ddmq5amxlbz7pw81lcmpz8v678kwyph"; 10 }; 11 12 postPatch = '' 13 substituteInPlace configure \ 14 --replace 'SSL_LIB="ssl"' 'SSL_LIB="crypto"' 15 ''; 16 17 buildInputs = [ openssl libssh2 gpgme ]; 18 19 configureFlags = [ "--with-plugins" ]; 20 21 meta = with lib; { 22 description = "A modular and multi processing pass phrase cracking tool"; 23 homepage = "https://leidecker.info/projects/phrasendrescher/index.shtml"; 24 license = licenses.gpl2Plus; 25 platforms = platforms.all; 26 maintainers = with maintainers; [ bjornfor ]; 27 mainProgram = "pd"; 28 }; 29}