mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
35 lines
886 B
Nix
35 lines
886 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "rita";
|
|
version = "4.8.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "activecm";
|
|
repo = "rita";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-By0JvQ4LTm+NEnRMadE1x2PiiYqnJQCsF3Fy+gHulXs=";
|
|
};
|
|
|
|
vendorHash = "sha256-KyC7VPgWlgKD6KWWRo3hFQHl2HjTub+VSMtJCpYE6Zk=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X=github.com/activecm/rita/config.Version=${version}"
|
|
"-X=github.com/activecm/rita/config.ExactVersion=${version}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Framework for detecting command and control communication through network traffic analysis";
|
|
homepage = "https://github.com/activecm/rita";
|
|
changelog = "https://github.com/activecm/rita/releases/tag/v${version}";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ fab ];
|
|
mainProgram = "rita";
|
|
};
|
|
}
|