mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-27 16:30:11 +00:00
71 lines
1.2 KiB
Nix
71 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
aioboto3,
|
|
boto3,
|
|
buildPythonPackage,
|
|
cryptography,
|
|
fastapi,
|
|
fetchFromGitHub,
|
|
httpx2,
|
|
orjson,
|
|
pydantic,
|
|
pyjwt,
|
|
redis,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
websockets,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "karton-core";
|
|
version = "6.1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CERT-Polska";
|
|
repo = "karton";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-pSk/OnymFGD5i9olApuJysoltgA70kBDAhPUosH7fE0=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
pythonRelaxDeps = [
|
|
"aioboto3"
|
|
"boto3"
|
|
];
|
|
|
|
dependencies = [
|
|
aioboto3
|
|
boto3
|
|
cryptography
|
|
fastapi
|
|
httpx2
|
|
orjson
|
|
pydantic
|
|
pyjwt
|
|
redis
|
|
websockets
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "karton.core" ];
|
|
|
|
disabledTestPaths = [
|
|
# End-to-end tests are disabled
|
|
"tests/e2e/"
|
|
];
|
|
|
|
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
|
|
];
|
|
};
|
|
})
|