blob: 909c7b8031ace4907b4183e12a17ed69672056e8 (
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
|
{
lib,
aioboto3,
buildPythonPackage,
fetchFromGitHub,
orjson,
redis,
setuptools,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "karton-core";
version = "5.9.0";
pyproject = true;
src = fetchFromGitHub {
owner = "CERT-Polska";
repo = "karton";
tag = "v${version}";
hash = "sha256-m7A7Fbl6VZtgR4+FhmV2T+K6kgHRNtdeyin1uhvw04U=";
};
build-system = [ setuptools ];
pythonRelaxDeps = [
"aioboto3"
"boto3"
];
dependencies = [
aioboto3
orjson
redis
];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "karton.core" ];
meta = {
description = "Distributed malware processing framework";
homepage = "https://karton-core.readthedocs.io/";
changelog = "https://github.com/CERT-Polska/karton/releases/tag/${src.tag}";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [
chivay
fab
];
};
}
|