mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-09 15:23:16 +00:00
39 lines
871 B
Nix
39 lines
871 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, openssl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bruteforce-salted-openssl";
|
|
version = "1.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "glv2";
|
|
repo = "bruteforce-salted-openssl";
|
|
rev = version;
|
|
hash = "sha256-hXB4CUQ5pihKmahyK359cgQACrs6YH1gHmZJAuTXgQM=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
];
|
|
|
|
buildInputs = [
|
|
openssl
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "Try to find the password of file encrypted with OpenSSL";
|
|
homepage = "https://github.com/glv2/bruteforce-salted-openssl";
|
|
changelog = "https://github.com/glv2/bruteforce-salted-openssl/blob/${src.rev}/NEWS";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ octodi ];
|
|
mainProgram = "bruteforce-salted-openssl";
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|