mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
Merge pull request #292806 from mjoerg/yaralyzer-0.9.3
yaralyzer: 0.9.0 -> 0.9.3
This commit is contained in:
commit
d3491342d6
@ -3,16 +3,31 @@
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
let
|
||||
python = python3.override {
|
||||
packageOverrides = self: super: {
|
||||
yara-python = super.yara-python.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "4.2.3";
|
||||
src = fetchFromGitHub {
|
||||
owner = "VirusTotal";
|
||||
repo = "yara-python";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-spUQuezQMqaG1hboM0/Gs7siCM6x0b40O+sV7qGGBng=";
|
||||
};
|
||||
});
|
||||
};
|
||||
};
|
||||
in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "yaralyzer";
|
||||
version = "0.9.0";
|
||||
format = "pyproject";
|
||||
version = "0.9.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "michelcrypt4d4mus";
|
||||
repo = "yaralyzer";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-QsMO/fnHy4puuToUHSS05fWnXHdAVnWFFBVq3cb0Zj4=";
|
||||
hash = "sha256-KGQNonzAZp8c0a3Rjb1WfsEkx5srgRzZfGR3gfNEdzY=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
@ -20,12 +35,12 @@ python3.pkgs.buildPythonApplication rec {
|
||||
"rich"
|
||||
];
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
nativeBuildInputs = with python.pkgs; [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
propagatedBuildInputs = with python.pkgs; [
|
||||
chardet
|
||||
python-dotenv
|
||||
rich
|
||||
@ -43,5 +58,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||
changelog = "https://github.com/michelcrypt4d4mus/yaralyzer/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "yaralyze";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user