mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
commit
904f7fc325
34
pkgs/by-name/ri/rita/package.nix
Normal file
34
pkgs/by-name/ri/rita/package.nix
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "rita";
|
||||||
|
version = "4.8.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "activecm";
|
||||||
|
repo = "rita";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-w86fGRH9pIqONgvdYpsHDNkE0BAuhzArET+NLIpRg/w=";
|
||||||
|
};
|
||||||
|
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user