nixpkgs/pkgs/tools/security/spyre/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
666 B
Nix
Raw Normal View History

2021-10-05 19:13:04 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
, pkg-config
, yara
}:
buildGoModule rec {
pname = "spyre";
2022-02-13 06:46:49 +00:00
version = "1.2.4";
2021-10-05 19:13:04 +00:00
src = fetchFromGitHub {
owner = "spyre-project";
repo = pname;
rev = "v${version}";
2022-02-13 06:46:49 +00:00
sha256 = "sha256-408UOY7kvukMYOVqQfpugk6Z+LNQV9XyfJirKyBRWd4=";
2021-10-05 19:13:04 +00:00
};
2022-02-13 06:46:49 +00:00
vendorSha256 = "sha256-qZkt5WwicDXrExwMT0tCO+FZgClIHhrVtMR8xNsdAaQ=";
2021-10-05 19:13:04 +00:00
nativeBuildInputs = [
pkg-config
];
buildInputs = [
yara
];
meta = with lib; {
description = "YARA-based IOC scanner";
homepage = "https://github.com/spyre-project/spyre";
license = with licenses; [ lgpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}