diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-10-05 23:09:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 23:09:31 +0200 |
commit | 704b174d77f2a2e2c185739ba728944aedb34ff6 (patch) | |
tree | 98fac689afb64493229e222a4250e1f1bbb09335 /pkgs | |
parent | 6e535343529bb4e569740654594773640f6fc5d5 (diff) | |
parent | bf8e9d00040b8cef113c6d036a5a8779bf2884f1 (diff) |
Merge pull request #140667 from fabaff/spyre
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/security/spyre/default.nix | 35 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/tools/security/spyre/default.nix b/pkgs/tools/security/spyre/default.nix new file mode 100644 index 0000000000000..112e0afd14555 --- /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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e66798069b9fc..7fce4f1836af1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31358,6 +31358,8 @@ with pkgs; spyder = with python3.pkgs; toPythonApplication spyder; + spyre = callPackage ../tools/security/spyre { }; + openspace = callPackage ../applications/science/astronomy/openspace { }; stellarium = libsForQt5.callPackage ../applications/science/astronomy/stellarium { }; |