pythonPackages.karton-core: init at 4.2.0
This commit is contained in:
parent
83838f7233
commit
fac3725e5b
2 changed files with 36 additions and 0 deletions
34
pkgs/development/python-modules/karton-core/default.nix
Normal file
34
pkgs/development/python-modules/karton-core/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, minio
|
||||
, python
|
||||
, redis
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "karton-core";
|
||||
version = "4.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CERT-Polska";
|
||||
repo = "karton";
|
||||
rev = "v${version}";
|
||||
sha256 = "08j1bm9g58576sswcrpfczaki24nlqqaypp7qv1rxxwsyp5pq6h6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ minio redis ];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
${python.interpreter} -m unittest discover
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Distributed malware processing framework";
|
||||
homepage = "https://karton-core.readthedocs.io/";
|
||||
maintainers = with maintainers; [ chivay ];
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
|
@ -3665,6 +3665,8 @@ in {
|
|||
|
||||
kaptan = callPackage ../development/python-modules/kaptan { };
|
||||
|
||||
karton-core = callPackage ../development/python-modules/karton-core { };
|
||||
|
||||
kazoo = callPackage ../development/python-modules/kazoo { };
|
||||
|
||||
kconfiglib = callPackage ../development/python-modules/kconfiglib { };
|
||||
|
|
Loading…
Reference in a new issue