john: unbreak on aarch64-darwin
This commit is contained in:
parent
60facffaa9
commit
f92ee1a512
|
@ -21,6 +21,12 @@ stdenv.mkDerivation rec {
|
||||||
url = "https://github.com/openwall/john/commit/154ee1156d62dd207aff0052b04c61796a1fde3b.patch";
|
url = "https://github.com/openwall/john/commit/154ee1156d62dd207aff0052b04c61796a1fde3b.patch";
|
||||||
sha256 = "sha256-3rfS2tu/TF+KW2MQiR+bh4w/FVECciTooDQNTHNw31A=";
|
sha256 = "sha256-3rfS2tu/TF+KW2MQiR+bh4w/FVECciTooDQNTHNw31A=";
|
||||||
})
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
name = "improve-apple-clang-pseudo-intrinsics-portability.patch";
|
||||||
|
url = "https://github.com/openwall/john/commit/c9825e688d1fb9fdd8942ceb0a6b4457b0f9f9b4.patch";
|
||||||
|
excludes = [ "doc/*" ];
|
||||||
|
sha256 = "sha256-hgoiz7IgR4f66fMP7bV1F8knJttY8g2Hxyk3QfkTu+g=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -83,7 +89,5 @@ stdenv.mkDerivation rec {
|
||||||
homepage = "https://github.com/openwall/john/";
|
homepage = "https://github.com/openwall/john/";
|
||||||
maintainers = with maintainers; [ offline matthewbauer ];
|
maintainers = with maintainers; [ offline matthewbauer ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
# never built on aarch64-darwin since first introduction in nixpkgs
|
|
||||||
broken = stdenv.isDarwin && stdenv.isAarch64;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue