mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 10:44:18 +00:00
python312Packages.maec: init at 4.1.0.17
Library for parsing, manipulating, and generating MAEC content https://github.com/MAECProject/python-maec/
This commit is contained in:
parent
e97fef1229
commit
2031cc55b1
50
pkgs/development/python-modules/maec/default.nix
Normal file
50
pkgs/development/python-modules/maec/default.nix
Normal file
@ -0,0 +1,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 ];
|
||||
};
|
||||
}
|
@ -7474,6 +7474,8 @@ self: super: with self; {
|
||||
|
||||
macropy = callPackage ../development/python-modules/macropy { };
|
||||
|
||||
maec = callPackage ../development/python-modules/maec { };
|
||||
|
||||
maestral = callPackage ../development/python-modules/maestral { };
|
||||
|
||||
magic = callPackage ../development/python-modules/magic { };
|
||||
|
Loading…
Reference in New Issue
Block a user