python311Packages.karton-core: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-05-19 10:42:33 +02:00
parent eb1496e7c9
commit ee3eb65c1b

View File

@ -1,12 +1,13 @@
{ lib
, boto3
, buildPythonPackage
, fetchFromGitHub
, orjson
, pythonOlder
, redis
, setuptools
, unittestCheckHook
{
lib,
boto3,
buildPythonPackage,
fetchFromGitHub,
orjson,
pythonOlder,
redis,
setuptools,
unittestCheckHook,
}:
buildPythonPackage rec {
@ -14,7 +15,7 @@ buildPythonPackage rec {
version = "5.4.0";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "CERT-Polska";
@ -23,9 +24,7 @@ buildPythonPackage rec {
hash = "sha256-4IU4ttJdh5BU79076kbQOtzqzeQ3/Xb9Qd6Bh9iNXrA=";
};
build-system = [
setuptools
];
build-system = [ setuptools ];
dependencies = [
boto3
@ -33,19 +32,18 @@ buildPythonPackage rec {
redis
];
nativeCheckInputs = [
unittestCheckHook
];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [
"karton.core"
];
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 ];
maintainers = with maintainers; [
chivay
fab
];
};
}