mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03:00
bkcrack: init at 1.5.0
This commit is contained in:
parent
98bb201bbf
commit
58ae5c163b
36
pkgs/tools/security/bkcrack/default.nix
Normal file
36
pkgs/tools/security/bkcrack/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, openmp
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bkcrack";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kimci86";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-iyx4mOTr6MHECk9S9zrIAE5pt+cxWnOKS7iQPUyWfzs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ openmp ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/bin $out/share/licenses/bkcrack
|
||||
mv $out/bkcrack $out/bin/
|
||||
mv $out/license.txt $out/share/licenses/bkcrack
|
||||
rm -r $out/example $out/tools $out/readme.md
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Crack legacy zip encryption with Biham and Kocher's known plaintext attack";
|
||||
homepage = "https://github.com/kimci86/bkcrack";
|
||||
license = licenses.zlib;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ erdnaxe ];
|
||||
};
|
||||
}
|
@ -5100,6 +5100,10 @@ with pkgs;
|
||||
|
||||
bbe = callPackage ../tools/misc/bbe { };
|
||||
|
||||
bkcrack = callPackage ../tools/security/bkcrack {
|
||||
inherit (llvmPackages) openmp;
|
||||
};
|
||||
|
||||
bdsync = callPackage ../tools/backup/bdsync { };
|
||||
|
||||
beamerpresenter = beamerpresenter-mupdf;
|
||||
|
Loading…
Reference in New Issue
Block a user