blob: 337000b71da251fd810e99c9d7808c2611254b2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
ply,
pytestCheckHook,
pycodestyle,
pydocstyle,
pyflakes,
coverage,
}:
buildPythonPackage rec {
pname = "plyara";
version = "2.2.8";
pyproject = true;
src = fetchFromGitHub {
owner = "plyara";
repo = "plyara";
tag = "v${version}";
hash = "sha256-WaQgqx003it+D0AGDxV6aSKO89F2iR9d8L4zvHyd0iQ=";
};
build-system = [
setuptools
];
dependencies = [
ply
];
pythonImportsCheck = [
"plyara"
];
nativeCheckInputs = [
pytestCheckHook
pycodestyle
pydocstyle
pyflakes
coverage
];
disabledTests = [
# touches network
"test_third_party_repositories"
];
meta = {
description = "Parse YARA rules";
homepage = "https://github.com/plyara/plyara";
changelog = "https://github.com/plyara/plyara/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
_13621
ivyfanchiang
];
};
}
|