diff options
author | Cole Helbling <cole.e.helbling@outlook.com> | 2021-04-17 10:00:17 -0700 |
---|---|---|
committer | Cole Helbling <cole.e.helbling@outlook.com> | 2021-04-22 13:52:42 -0700 |
commit | dbfbfa380e1ea73e581489fbc993b97b79c804f8 (patch) | |
tree | a4620d3522d9a4aad7768bffa91d1135053d4eca | |
parent | d18e9c5466510f83d064691b6111e38a92fbff5d (diff) | |
download | nixlib-dbfbfa380e1ea73e581489fbc993b97b79c804f8.tar nixlib-dbfbfa380e1ea73e581489fbc993b97b79c804f8.tar.gz nixlib-dbfbfa380e1ea73e581489fbc993b97b79c804f8.tar.bz2 nixlib-dbfbfa380e1ea73e581489fbc993b97b79c804f8.tar.lz nixlib-dbfbfa380e1ea73e581489fbc993b97b79c804f8.tar.xz nixlib-dbfbfa380e1ea73e581489fbc993b97b79c804f8.tar.zst nixlib-dbfbfa380e1ea73e581489fbc993b97b79c804f8.zip |
yarGen: init at 0.23.4
-rw-r--r-- | pkgs/tools/security/yarGen/default.nix | 39 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/tools/security/yarGen/default.nix b/pkgs/tools/security/yarGen/default.nix new file mode 100644 index 000000000000..1beb68e0bd70 --- /dev/null +++ b/pkgs/tools/security/yarGen/default.nix @@ -0,0 +1,39 @@ +{ lib +, python3 +, fetchFromGitHub +}: +python3.pkgs.buildPythonApplication rec { + pname = "yarGen"; + version = "0.23.4"; + format = "other"; + + src = fetchFromGitHub { + owner = "Neo23x0"; + repo = "yarGen"; + rev = version; + sha256 = "6PJNAeeLAyUlZcIi0g57sO1Ex6atn7JhbK9kDbNrZ6A="; + }; + + installPhase = '' + runHook preInstall + + mkdir -p $out/bin + chmod +x yarGen.py + mv yarGen.py $out/bin/yargen + + runHook postInstall + ''; + + propagatedBuildInputs = with python3.pkgs; [ + scandir + pefile + lxml + ]; + + meta = with lib; { + description = "A generator for YARA rules"; + homepage = "https://github.com/Neo23x0/yarGen"; + license = licenses.bsd3; + maintainers = teams.determinatesystems.members; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6915f6bcf846..78240b4889aa 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -30757,6 +30757,8 @@ in yara = callPackage ../tools/security/yara { }; + yarGen = callPackage ../tools/security/yarGen { }; + yaxg = callPackage ../tools/graphics/yaxg {}; yuzu-mainline = import ../misc/emulators/yuzu { |