mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-08 06:13:55 +00:00
52 lines
972 B
Nix
52 lines
972 B
Nix
{
|
|
lib,
|
|
aioboto3,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
orjson,
|
|
redis,
|
|
setuptools,
|
|
unittestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "karton-core";
|
|
version = "5.9.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CERT-Polska";
|
|
repo = "karton";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-b/wOkOk6LB8uTDsXJrNQ2iru2H6mgaMhIyWSU5y2mx0=";
|
|
};
|
|
|
|
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/${finalAttrs.src.tag}";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [
|
|
chivay
|
|
fab
|
|
];
|
|
};
|
|
})
|