depot/third_party/nixpkgs/pkgs/development/python-modules/karton-mwdb-reporter/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

41 lines
835 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, karton-core
, mwdblib
, pythonOlder
}:
buildPythonPackage rec {
pname = "karton-mwdb-reporter";
version = "1.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "CERT-Polska";
repo = pname;
rev = "v${version}";
hash = "sha256-QVxczXT74Xt0AtCSDm4nhIK4qtHQ6bqmVNb/CALZSE4=";
};
propagatedBuildInputs = [
karton-core
mwdblib
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"karton.mwdb_reporter"
];
meta = with lib; {
description = "Karton service that uploads analyzed artifacts and metadata to MWDB Core";
homepage = "https://github.com/CERT-Polska/karton-mwdb-reporter";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fab ];
};
}