fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
33 lines
726 B
Nix
33 lines
726 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "ruler";
|
|
version = "2.4.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sensepost";
|
|
repo = "ruler";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-cEYpK1LB9b65xr6MCMax1vUtSWefjJdXNs4sPgx65d0=";
|
|
};
|
|
|
|
vendorHash = "sha256-ITd3cvZmRBWK3922dDRvNHNH8KzHoVfIQI6S318ibxA=";
|
|
|
|
ldflags = [
|
|
"-w"
|
|
"-s"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Tool to abuse Exchange services";
|
|
homepage = "https://github.com/sensepost/ruler";
|
|
changelog = "https://github.com/sensepost/ruler/releases/tag/${version}";
|
|
license = with licenses; [ cc-by-nc-40 ];
|
|
maintainers = with maintainers; [ fab ];
|
|
mainProgram = "ruler";
|
|
};
|
|
}
|