mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-20 11:11:43 -04:00
85c1bd0207
Diff: https://github.com/CERT-Polska/karton/compare/refs/tags/v5.5.0...v5.5.1 Changelog: https://github.com/CERT-Polska/karton/releases/tag/v5.5.1
50 lines
940 B
Nix
50 lines
940 B
Nix
{
|
|
lib,
|
|
boto3,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
orjson,
|
|
pythonOlder,
|
|
redis,
|
|
setuptools,
|
|
unittestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "karton-core";
|
|
version = "5.5.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CERT-Polska";
|
|
repo = "karton";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-KaEXBNGcJN88gIv7suKcr1pK4ih/QbByxEy3nZFlIgk=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
boto3
|
|
orjson
|
|
redis
|
|
];
|
|
|
|
nativeCheckInputs = [ unittestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "karton.core" ];
|
|
|
|
meta = with lib; {
|
|
description = "Distributed malware processing framework";
|
|
homepage = "https://karton-core.readthedocs.io/";
|
|
changelog = "https://github.com/CERT-Polska/karton/releases/tag/v${version}";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [
|
|
chivay
|
|
fab
|
|
];
|
|
};
|
|
}
|