summary refs log tree commit diff
path: root/pkgs/tools/security
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-10-05 21:13:04 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2021-10-05 21:13:04 +0200
commitbf8e9d00040b8cef113c6d036a5a8779bf2884f1 (patch)
tree4c5ae5f98b5351b8c31a65f6352fecc5bf6dea60 /pkgs/tools/security
parent6aae893f3d0f367e5c4da8f688e034ad792cca7f (diff)
downloadnixpkgs-bf8e9d00040b8cef113c6d036a5a8779bf2884f1.tar
nixpkgs-bf8e9d00040b8cef113c6d036a5a8779bf2884f1.tar.gz
nixpkgs-bf8e9d00040b8cef113c6d036a5a8779bf2884f1.tar.bz2
nixpkgs-bf8e9d00040b8cef113c6d036a5a8779bf2884f1.tar.lz
nixpkgs-bf8e9d00040b8cef113c6d036a5a8779bf2884f1.tar.xz
nixpkgs-bf8e9d00040b8cef113c6d036a5a8779bf2884f1.tar.zst
nixpkgs-bf8e9d00040b8cef113c6d036a5a8779bf2884f1.zip
spyre: init at 1.2.1
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r--pkgs/tools/security/spyre/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/tools/security/spyre/default.nix b/pkgs/tools/security/spyre/default.nix
new file mode 100644
index 00000000000..112e0afd145
--- /dev/null
+++ b/pkgs/tools/security/spyre/default.nix
@@ -0,0 +1,35 @@
+{ lib
+, buildGoModule
+, fetchFromGitHub
+, pkg-config
+, yara
+}:
+
+buildGoModule rec {
+  pname = "spyre";
+  version = "1.2.1";
+
+  src = fetchFromGitHub {
+    owner = "spyre-project";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "0iijvwcybp9z70jdh5mkaj7k3cw43r72wg3ayhnpyjmvgrwij43i";
+  };
+
+  vendorSha256 = "1mssfiph4a6jqp2qlrksvzinh0h8qpwdaxa5zx7fsydmqvk93w0g";
+
+  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 ];
+  };
+}