python3Packages.stix2: 3.0.1 -> 3.0.2, python3Packages.stix2-validator: 3.2.0 -> 3.3.1, python3Packages.stix2-patterns: 2.0.0 -> 2.1.2 (#538228)
This commit is contained in:
@@ -5,26 +5,24 @@
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
six,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "stix2-patterns";
|
||||
version = "2.0.0";
|
||||
version = "2.1.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "oasis-open";
|
||||
repo = "cti-pattern-validator";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-lFgnvI5a7U7/Qj4Pqjr3mx4TNDnC2/Ru7tVG7VggR7Y=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-ngRxUeT8ifFM4bpFRtS1ILtTz9lPXtyD8+0MYijWKoM=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
antlr4-python3-runtime
|
||||
six
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
@@ -32,12 +30,11 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "stix2patterns" ];
|
||||
|
||||
meta = {
|
||||
broken = lib.versionAtLeast antlr4-python3-runtime.version "4.10";
|
||||
description = "Validate patterns used to express cyber observable content in STIX Indicators";
|
||||
mainProgram = "validate-patterns";
|
||||
homepage = "https://github.com/oasis-open/cti-pattern-validator";
|
||||
changelog = "https://github.com/oasis-open/cti-pattern-validator/blob/${version}/CHANGELOG.rst";
|
||||
changelog = "https://github.com/oasis-open/cti-pattern-validator/blob/${finalAttrs.src.tag}/CHANGELOG.rst";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
mainProgram = "validate-patterns";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -12,16 +12,16 @@
|
||||
stix2-patterns,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "stix2-validator";
|
||||
version = "3.2.0";
|
||||
version = "3.3.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "oasis-open";
|
||||
repo = "cti-stix-validator";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-OI1SXILyCRGl1ZsoyYDl+/RsBhTP24eqECtW3uazS2k=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-w9SlRspt5tRLdqqEr6UJ+cmq3KM08cN9BqMvdSYay0Y=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -45,8 +45,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Validator for STIX 2.0 JSON normative requirements and best practices";
|
||||
homepage = "https://github.com/oasis-open/cti-stix-validator/";
|
||||
changelog = "https://github.com/oasis-open/cti-stix-validator/blob/${src.rev}/CHANGELOG";
|
||||
changelog = "https://github.com/oasis-open/cti-stix-validator/blob/${finalAttrs.src.tag}/CHANGELOG";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -14,16 +14,16 @@
|
||||
taxii2-client,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "stix2";
|
||||
version = "3.0.1";
|
||||
version = "3.0.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "oasis-open";
|
||||
repo = "cti-python-stix2";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-1bILZUZgPOWmFWRu4p/fmgi4QPEE1lFQH9mxoWd/saI=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-qm6VFufD9A4rSBHaDkqeYqOLRvE97SY0++o4ND0l3I0=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -55,8 +55,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Produce and consume STIX 2 JSON content";
|
||||
homepage = "https://stix2.readthedocs.io/en/latest/";
|
||||
changelog = "https://github.com/oasis-open/cti-python-stix2/blob/v${version}/CHANGELOG";
|
||||
changelog = "https://github.com/oasis-open/cti-python-stix2/blob/${finalAttrs.src.tag}/CHANGELOG";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ PapayaJackal ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user