python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / security / spyre / default.nix
blobe74d8bc9a6ec8d716cab46f91a868e02ba479549
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 , pkg-config
5 , yara
6 }:
8 buildGoModule rec {
9   pname = "spyre";
10   version = "1.2.4";
12   src = fetchFromGitHub {
13     owner = "spyre-project";
14     repo = pname;
15     rev = "v${version}";
16     sha256 = "sha256-408UOY7kvukMYOVqQfpugk6Z+LNQV9XyfJirKyBRWd4=";
17   };
19   vendorSha256 = "sha256-qZkt5WwicDXrExwMT0tCO+FZgClIHhrVtMR8xNsdAaQ=";
21   nativeBuildInputs = [
22     pkg-config
23   ];
25   buildInputs = [
26     yara
27   ];
29   meta = with lib; {
30     description = "YARA-based IOC scanner";
31     homepage = "https://github.com/spyre-project/spyre";
32     license = with licenses; [ lgpl3Plus ];
33     maintainers = with maintainers; [ fab ];
34   };