Commit 85814f82 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

ruler: refactor

parent 3340b563
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -9,17 +9,24 @@ buildGoModule rec {

  src = fetchFromGitHub {
    owner = "sensepost";
    repo = pname;
    rev = version;
    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";
  };
}