mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 01:24:47 +00:00
legba: init at 0.6.0
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
This commit is contained in:
parent
8abd30d9c3
commit
963372bb11
36
pkgs/by-name/le/legba/package.nix
Normal file
36
pkgs/by-name/le/legba/package.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
, openssl
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "legba";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "evilsocket";
|
||||
repo = "legba";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-zZQZuMjyQEuXNor3g4P0YLvvj2DaU3A3/FUzCRJxnZQ=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-qFdV4s//CsLi8tjQ36z3+ECMQR8evtCUKbauf6XpJ04=";
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ openssl.dev ];
|
||||
|
||||
# Paho C test fails due to permission issue
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A multiprotocol credentials bruteforcer / password sprayer and enumerator";
|
||||
homepage = "https://github.com/evilsocket/legba";
|
||||
changelog = "https://github.com/evilsocket/legba/releases/tag/v${version}";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ mikaelfangel ];
|
||||
mainProgram = "legba";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user