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