nixpkgs/pkgs/by-name/le/legba/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

38 lines
917 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, cmake
, pkg-config
, openssl
, samba
}:
rustPlatform.buildRustPackage rec {
pname = "legba";
version = "0.9.0";
src = fetchFromGitHub {
owner = "evilsocket";
repo = "legba";
rev = "v${version}";
hash = "sha256-emj2N3S26Nm0UiHGZIraCJN07rJNOMvdWRoUbHneknY=";
};
cargoHash = "sha256-viDfJ214Zf5segjrLSTbHav5T5e219NAF+MvuPow+JQ=";
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ openssl.dev samba ];
# Paho C test fails due to permission issue
doCheck = false;
meta = with lib; {
description = "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";
};
}