nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 40 lines 899 B view raw
1{ 2 lib, 3 python3, 4 fetchFromGitHub, 5}: 6 7python3.pkgs.buildPythonApplication rec { 8 pname = "breads-ad"; 9 version = "1.2.4-unstable-2024-05-27"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "oppsec"; 14 repo = "breads"; 15 rev = "bdfc8b5f0357a34847767505ddc98734ca3b491f"; 16 hash = "sha256-U1q15D59N55qBf4NVOpe5RpQjlE1ye2TNNIZf2IZV3U="; 17 }; 18 19 pythonRelaxDeps = [ "ldap3" ]; 20 21 build-system = with python3.pkgs; [ setuptools ]; 22 23 dependencies = with python3.pkgs; [ 24 impacket 25 ldap3 26 rich 27 ]; 28 29 # Project has no tests 30 doCheck = false; 31 32 meta = { 33 description = "Tool to evaluate Active Directory Security"; 34 homepage = "https://github.com/oppsec/breads"; 35 changelog = "https://github.com/oppsec/breads/blob/${version}/CHANGELOG.md"; 36 license = lib.licenses.mit; 37 maintainers = with lib.maintainers; [ fab ]; 38 mainProgram = "breads-ad"; 39 }; 40}