Files
nixpkgs/pkgs/by-name/le/legba/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

45 lines
945 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
cmake,
pkg-config,
openssl,
samba,
}:
rustPlatform.buildRustPackage rec {
pname = "legba";
version = "0.11.0";
src = fetchFromGitHub {
owner = "evilsocket";
repo = "legba";
rev = "v${version}";
hash = "sha256-iynUReIWebfBkmWxbajsKbdfWSy+fzqF3NNssjtshYY=";
};
cargoHash = "sha256-clqOTFUOxZ1yt2YVgVDvsq2MhwMH7/s+jHSwt3buXgU=";
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
openssl.dev
samba
];
# Paho C test fails due to permission issue
doCheck = false;
meta = {
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 = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ mikaelfangel ];
mainProgram = "legba";
};
}