diff options
author | Peter Hoeg <peter@hoeg.com> | 2019-11-01 16:42:33 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2019-11-01 16:42:33 +0800 |
commit | 582b92b9483428a0e40f276aff3da2d99bbe62c5 (patch) | |
tree | f452180511abf3cbae860431ed4c9a5676667d28 /pkgs/tools/security/john/default.nix | |
parent | 471869c9185fb610e67940a701eb13b1cfb335a4 (diff) |
john: build with python3
Diffstat (limited to 'pkgs/tools/security/john/default.nix')
-rw-r--r-- | pkgs/tools/security/john/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/tools/security/john/default.nix b/pkgs/tools/security/john/default.nix index dd3a93be99500..4107e9fcf1420 100644 --- a/pkgs/tools/security/john/default.nix +++ b/pkgs/tools/security/john/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, openssl, nss, nspr, kerberos, gmp, zlib, libpcap, re2 -, gcc, pythonPackages, perl, perlPackages, makeWrapper +, gcc, python3Packages, perl, perlPackages, makeWrapper }: with stdenv.lib; @@ -33,8 +33,9 @@ stdenv.mkDerivation rec { ''; configureFlags = [ "--disable-native-macro" ]; - buildInputs = [ openssl nss nspr kerberos gmp zlib libpcap re2 gcc pythonPackages.wrapPython perl makeWrapper ]; - propagatedBuildInputs = (with pythonPackages; [ dpkt scapy lxml ]) ++ # For pcap2john.py + buildInputs = [ openssl nss nspr kerberos gmp zlib libpcap re2 ]; + nativeBuildInputs = [ gcc python3Packages.wrapPython perl makeWrapper ]; + propagatedBuildInputs = (with python3Packages; [ dpkt scapy lxml ]) ++ # For pcap2john.py (with perlPackages; [ DigestMD4 DigestSHA1 GetoptLong # For pass_gen.pl perlldap ]); # For sha-dump.pl # TODO: Get dependencies for radius2john.pl and lion2john-alt.pl |