mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
29 lines
820 B
Nix
29 lines
820 B
Nix
{ lib, 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 lib; {
|
|
description = "Modular and multi processing pass phrase cracking tool";
|
|
homepage = "https://leidecker.info/projects/phrasendrescher/index.shtml";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ bjornfor ];
|
|
mainProgram = "pd";
|
|
};
|
|
}
|