nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at haskell-updates 39 lines 942 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 karton-core, 6 mwdblib, 7}: 8 9buildPythonPackage rec { 10 pname = "karton-mwdb-reporter"; 11 version = "1.3.0"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "CERT-Polska"; 16 repo = "karton-mwdb-reporter"; 17 tag = "v${version}"; 18 hash = "sha256-KJh9uJzVGYEEk1ed56ynKA/+dK9ouDB7L06xERjfjdc="; 19 }; 20 21 propagatedBuildInputs = [ 22 karton-core 23 mwdblib 24 ]; 25 26 # Project has no tests 27 doCheck = false; 28 29 pythonImportsCheck = [ "karton.mwdb_reporter" ]; 30 31 meta = { 32 description = "Karton service that uploads analyzed artifacts and metadata to MWDB Core"; 33 mainProgram = "karton-mwdb-reporter"; 34 homepage = "https://github.com/CERT-Polska/karton-mwdb-reporter"; 35 changelog = "https://github.com/CERT-Polska/karton-mwdb-reporter/releases/tag/v${version}"; 36 license = with lib.licenses; [ bsd3 ]; 37 maintainers = with lib.maintainers; [ fab ]; 38 }; 39}