Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #119082 from chivay/karton-core
pythonPackages.karton-core: init at 4.2.0
- Loading branch information
Showing
3 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters