1{ lib 2, boto3 3, buildPythonPackage 4, fetchFromGitHub 5, unittestCheckHook 6, redis 7}: 8 9buildPythonPackage rec { 10 pname = "karton-core"; 11 version = "5.0.0"; 12 13 src = fetchFromGitHub { 14 owner = "CERT-Polska"; 15 repo = "karton"; 16 rev = "refs/tags/v${version}"; 17 hash = "sha256-0B2u2xnrGc3iQ8B9iAQ3fcovQQCPqdFsn5evgdDwg5M="; 18 }; 19 20 propagatedBuildInputs = [ 21 boto3 22 redis 23 ]; 24 25 checkInputs = [ unittestCheckHook ]; 26 27 pythonImportsCheck = [ 28 "karton.core" 29 ]; 30 31 meta = with lib; { 32 description = "Distributed malware processing framework"; 33 homepage = "https://karton-core.readthedocs.io/"; 34 license = licenses.bsd3; 35 maintainers = with maintainers; [ chivay fab ]; 36 }; 37}