Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

pythonPackages.karton-core: init at 4.2.0

authored by Hubert Jasudowicz and committed by Hubert Jasudowicz fac3725e 83838f72

+36
+34
pkgs/development/python-modules/karton-core/default.nix
··· 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 + }
+2
pkgs/top-level/python-packages.nix
··· 3665 3665 3666 3666 kaptan = callPackage ../development/python-modules/kaptan { }; 3667 3667 3668 + karton-core = callPackage ../development/python-modules/karton-core { }; 3669 + 3668 3670 kazoo = callPackage ../development/python-modules/kazoo { }; 3669 3671 3670 3672 kconfiglib = callPackage ../development/python-modules/kconfiglib { };