nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at litex 43 lines 942 B view raw
1{ lib 2, fetchFromGitHub 3, python3 4}: 5 6python3.pkgs.buildPythonApplication rec { 7 pname = "silenthound"; 8 version = "unstable-2022-09-02"; 9 format = "other"; 10 11 src = fetchFromGitHub { 12 owner = "layer8secure"; 13 repo = "SilentHound"; 14 rev = "44d361f6c95b79bd848603c8050af86db3d072b0"; 15 hash = "sha256-6JcU6FIE+9fsMawI1RSNQyx9ubjxmchEKmeg6/kmI4s="; 16 }; 17 18 propagatedBuildInputs = with python3.pkgs; [ 19 colorama 20 python-ldap 21 ]; 22 23 dontBuild = true; 24 25 installPhase = '' 26 runHook preInstall 27 28 install -vD $pname.py $out/bin/$pname 29 30 runHook postInstall 31 ''; 32 33 # Only script available 34 doCheck = false; 35 36 meta = with lib; { 37 description = "Tool to enumerate an Active Directory Domain"; 38 homepage = "https://github.com/layer8secure/SilentHound"; 39 # Unknown license, https://github.com/layer8secure/SilentHound/issues/1 40 license = licenses.unfree; 41 maintainers = with maintainers; [ fab ]; 42 }; 43}