diff --git a/pkgs/tools/security/ruler/default.nix b/pkgs/tools/security/ruler/default.nix new file mode 100644 index 000000000000..2a42a3de2813 --- /dev/null +++ b/pkgs/tools/security/ruler/default.nix @@ -0,0 +1,28 @@ +{ lib +, stdenv +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "ruler"; + version = "2.4.1"; + + src = fetchFromGitHub { + owner = "sensepost"; + repo = pname; + rev = version; + hash = "sha256-cEYpK1LB9b65xr6MCMax1vUtSWefjJdXNs4sPgx65d0="; + }; + + vendorHash = "sha256-ITd3cvZmRBWK3922dDRvNHNH8KzHoVfIQI6S318ibxA="; + + meta = with lib; { + description = "Tool to abuse Exchange services"; + homepage = "https://github.com/sensepost/ruler"; + # Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License + # https://github.com/sensepost/ruler/blob/master/LICENSE + license = with licenses; [ unfree ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c5cd5bbd6269..3c8775a8e0da 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -763,6 +763,8 @@ with pkgs; run = callPackage ../development/tools/run { }; + ruler = callPackage ../tools/security/ruler { }; + mblock-mlink = callPackage ../development/tools/mblock-mlink { }; mod = callPackage ../development/tools/mod { };