git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #119082 from chivay/karton-core

pythonPackages.karton-core: init at 4.2.0

commit20443c348225791ca7ecb2787f403f4be56ab223 authorFabian Affolter <fabian@affolter-engineering.ch> dateSun 11 Apr 2021, 17:03 (6 years ago) parent6f300dafac3725
3 files changed+42
maintainers/maintainer-list.nix+6 pkgs/development/python-modules/karton-core/default.nix+34 pkgs/top-level/python-packages.nix+2
maintainers/maintainer-list.nix+6
@@ -1707,6 +1707,12 @@
17071707 githubId = 3086255;
17081708 name = "Barry Moore II";
17091709 };
1710+ chivay = {
1711+ email = "hubert.jasudowicz@gmail.com";
1712+ github = "chivay";
1713+ githubId = 14790226;
1714+ name = "Hubert Jasudowicz";
1715+ };
17101716 chkno = {
17111717 email = "chuck@intelligence.org";
17121718 github = "chkno";
pkgs/development/python-modules/karton-core/default.nixnew file+34
@@ -0,0 +1,34 @@
1+{ lib
2+, buildPythonPackage
3+, fetchFromGitHub
4+, minio
5+, python
6+, redis
7+}:
8+
9+buildPythonPackage rec {
10+ pname = "karton-core";
11+ version = "4.2.0";
12+
13+ src = fetchFromGitHub {
14+ owner = "CERT-Polska";
15+ repo = "karton";
16+ rev = "v${version}";
17+ sha256 = "08j1bm9g58576sswcrpfczaki24nlqqaypp7qv1rxxwsyp5pq6h6";
18+ };
19+
20+ propagatedBuildInputs = [ minio redis ];
21+
22+ checkPhase = ''
23+ runHook preCheck
24+ ${python.interpreter} -m unittest discover
25+ runHook postCheck
26+ '';
27+
28+ meta = with lib; {
29+ description = "Distributed malware processing framework";
30+ homepage = "https://karton-core.readthedocs.io/";
31+ maintainers = with maintainers; [ chivay ];
32+ license = licenses.bsd3;
33+ };
34+}
pkgs/top-level/python-packages.nix+2
@@ -3667,6 +3667,8 @@ in {
36673667
36683668 kaptan = callPackage ../development/python-modules/kaptan { };
36693669
3670+ karton-core = callPackage ../development/python-modules/karton-core { };
3671+
36703672 kazoo = callPackage ../development/python-modules/kazoo { };
36713673
36723674 kconfiglib = callPackage ../development/python-modules/kconfiglib { };