forked from mirrors/nixpkgs
Merge pull request #127518 from ethancedwards8/truecrack
truecrack: init at 3.6
This commit is contained in:
commit
a0abac9a64
40
pkgs/tools/security/truecrack/default.nix
Normal file
40
pkgs/tools/security/truecrack/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
{ lib, gccStdenv, fetchFromGitLab, cudatoolkit
|
||||||
|
, cudaSupport ? false
|
||||||
|
, pkg-config }:
|
||||||
|
|
||||||
|
gccStdenv.mkDerivation rec {
|
||||||
|
pname = "truecrack";
|
||||||
|
version = "3.6";
|
||||||
|
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
owner = "kalilinux";
|
||||||
|
repo = "packages/truecrack";
|
||||||
|
rev = "debian/${version}+git20150326-0kali1";
|
||||||
|
sha256 = "+Rw9SfaQtO1AJO6UVVDMCo8DT0dYEbv7zX8SI+pHCRQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
configureFlags = (if cudaSupport then [
|
||||||
|
"--with-cuda=${cudatoolkit}"
|
||||||
|
] else [
|
||||||
|
"--enable-cpu"
|
||||||
|
]);
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = lib.optionals cudaSupport [
|
||||||
|
cudatoolkit
|
||||||
|
];
|
||||||
|
|
||||||
|
installFlags = [ "prefix=$(out)" ];
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "TrueCrack is a brute-force password cracker for TrueCrypt volumes. It works on Linux and it is optimized for Nvidia Cuda technology.";
|
||||||
|
homepage = "https://gitlab.com/kalilinux/packages/truecrack";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ ethancedwards8 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -9760,6 +9760,9 @@ in
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
truecrack = callPackage ../tools/security/truecrack { };
|
||||||
|
truecrack-cuda = truecrack.override { cudaSupport = true; };
|
||||||
|
|
||||||
ts = callPackage ../tools/system/ts { };
|
ts = callPackage ../tools/system/ts { };
|
||||||
|
|
||||||
transfig = callPackage ../tools/graphics/transfig {
|
transfig = callPackage ../tools/graphics/transfig {
|
||||||
|
|
Loading…
Reference in a new issue