python3Packages.karton-mwdb-reporter: 1.0.1 -> unstable-2022-02-22
This commit is contained in:
parent
fc77f3d739
commit
1047224132
@ -3,17 +3,21 @@
|
||||
, fetchFromGitHub
|
||||
, karton-core
|
||||
, mwdblib
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "karton-mwdb-reporter";
|
||||
version = "1.0.1";
|
||||
version = "unstable-2022-02-22";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CERT-Polska";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0jrn5c83nhcjny4bc879wrsgcr7mbazm51jzdkxmxyqf543cc841";
|
||||
rev = "1afa32251b4826eac4386596b4a20f295699faec";
|
||||
hash = "sha256-dbtIjWSNIRMccrGJspZMOBUD2EzuvW7xESlEwiOhKfQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -21,14 +25,12 @@ buildPythonPackage rec {
|
||||
mwdblib
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "mwdblib==3.4.0" "mwdblib"
|
||||
'';
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "karton.mwdb_reporter" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"karton.mwdb_reporter"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Karton service that uploads analyzed artifacts and metadata to MWDB Core";
|
||||
|
Loading…
Reference in New Issue
Block a user