blob: 2c29be54289fd2bd8c60c369826f120ba3d061d7 (
plain) (
blame)
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
|
{
lib,
buildPythonPackage,
cybox,
distutils,
fetchFromGitHub,
lxml,
mixbox,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "maec";
version = "4.1.0.17";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "MAECProject";
repo = "python-maec";
rev = "refs/tags/v${version}";
hash = "sha256-I2Ov2AQiC9D8ivHqn7owcTsNS7Kw+CWVyijK3VO52Og=";
};
build-system = [
distutils
setuptools
];
dependencies = [
cybox
lxml
mixbox
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "maec" ];
meta = {
description = "Library for parsing, manipulating, and generating MAEC content";
homepage = "https://github.com/MAECProject/python-maec/";
changelog = "https://github.com/MAECProject/python-maec/blob/${src.rev}/CHANGES.txt";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
}
|