Commit 0501066c authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python310Packages.karton-core: 4.4.1 -> 5.0.0

parent 8f39ebba
Loading
Loading
Loading
Loading
+12 −5
Original line number Diff line number Diff line
{ lib
, boto3
, buildPythonPackage
, fetchFromGitHub
, minio
, python
, redis
}:

buildPythonPackage rec {
  pname = "karton-core";
  version = "4.4.1";
  version = "5.0.0";

  src = fetchFromGitHub {
    owner = "CERT-Polska";
    repo = "karton";
    rev = "refs/tags/v${version}";
    sha256 = "sha256-smgKrFexuL0bgt/1Ikm1tpSGPJNJm7Ko68iZn3AQw5E=";
    hash = "sha256-0B2u2xnrGc3iQ8B9iAQ3fcovQQCPqdFsn5evgdDwg5M=";
  };

  propagatedBuildInputs = [ minio redis ];
  propagatedBuildInputs = [
    boto3
    redis
  ];

  checkPhase = ''
    runHook preCheck
@@ -25,10 +28,14 @@ buildPythonPackage rec {
    runHook postCheck
  '';

  pythonImportsCheck = [
    "karton.core"
  ];

  meta = with lib; {
    description = "Distributed malware processing framework";
    homepage = "https://karton-core.readthedocs.io/";
    maintainers = with maintainers; [ chivay ];
    license = licenses.bsd3;
    maintainers = with maintainers; [ chivay fab ];
  };
}