3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/yarGen/default.nix

38 lines
705 B
Nix
Raw Normal View History

2021-04-17 18:00:17 +01:00
{ 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
2021-04-23 07:02:53 +01:00
install -Dt "$out/bin" yarGen.py
2021-04-17 18:00:17 +01:00
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;
};
}