python3Packages.yara-python: init at 4.0.5
This commit is contained in:
parent
2c8e88dabe
commit
36d4934c39
41
pkgs/development/python-modules/yara-python/default.nix
Normal file
41
pkgs/development/python-modules/yara-python/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, yara
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "yara-python";
|
||||
version = "4.0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "VirusTotal";
|
||||
repo = "yara-python";
|
||||
rev = "v${version}";
|
||||
sha256 = "1qd0aw5p48ay77hgj0hgzpvbmq1933mknk134aqdb32036rlc5sq";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
yara
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
setupPyBuildFlags = [
|
||||
"--dynamic-linking"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "tests.py" ];
|
||||
|
||||
pythonImportsCheck = [ "yara" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python interface for YARA";
|
||||
homepage = "https://github.com/VirusTotal/yara-python";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -9107,6 +9107,8 @@ in {
|
||||
|
||||
Yapsy = callPackage ../development/python-modules/yapsy { };
|
||||
|
||||
yara-python = callPackage ../development/python-modules/yara-python { };
|
||||
|
||||
yarg = callPackage ../development/python-modules/yarg { };
|
||||
|
||||
yarl = callPackage ../development/python-modules/yarl { };
|
||||
|
Loading…
Reference in New Issue
Block a user