mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
yarGen: init at 0.23.4
This commit is contained in:
parent
d18e9c5466
commit
dbfbfa380e
2 changed files with 41 additions and 0 deletions
39
pkgs/tools/security/yarGen/default.nix
Normal file
39
pkgs/tools/security/yarGen/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue