Unverified Commit 95fbd178 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

hashcat: 6.2.6 -> 7.0.0 (#430494)

parents 0b76c8b4 e9aa1c19
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -17,11 +17,11 @@

stdenv.mkDerivation rec {
  pname = "hashcat";
  version = "6.2.6";
  version = "7.0.0";

  src = fetchurl {
    url = "https://hashcat.net/files/hashcat-${version}.tar.gz";
    sha256 = "sha256-sl4Qd7zzSQjMjxjBppouyYsEeyy88PURRNzzuh4Leyo=";
    sha256 = "sha256-hCtx0NNLAgAFiCR6rp/smg/BMnfyzTpqSSWw8Jszv3U=";
  };

  postPatch = ''
@@ -61,6 +61,9 @@ stdenv.mkDerivation rec {
  ]
  ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform == stdenv.buildPlatform) [
    "IS_APPLE_SILICON='${if stdenv.hostPlatform.isAarch64 then "1" else "0"}'"
  ]
  ++ lib.optionals stdenv.hostPlatform.isAarch64 [
    "IS_AARCH64=1"
  ];

  enableParallelBuilding = true;