1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 flask, 6 karton-core, 7 mistune, 8 networkx, 9 prometheus-client, 10 pythonOlder, 11}: 12 13buildPythonPackage rec { 14 pname = "karton-dashboard"; 15 version = "1.6.0"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 owner = "CERT-Polska"; 22 repo = "karton-dashboard"; 23 tag = "v${version}"; 24 hash = "sha256-VzBC7IATF8QBtTXMv4vmorAzBlImEsayjenQ2Uz5jIo="; 25 }; 26 27 pythonRelaxDeps = [ 28 "Flask" 29 "mistune" 30 "networkx" 31 "prometheus-client" 32 ]; 33 34 propagatedBuildInputs = [ 35 flask 36 karton-core 37 mistune 38 networkx 39 prometheus-client 40 ]; 41 42 # Project has no tests. pythonImportsCheck requires MinIO configuration 43 doCheck = false; 44 45 meta = with lib; { 46 description = "Web application that allows for Karton task and queue introspection"; 47 mainProgram = "karton-dashboard"; 48 homepage = "https://github.com/CERT-Polska/karton-dashboard"; 49 changelog = "https://github.com/CERT-Polska/karton-dashboard/releases/tag/v${version}"; 50 license = with licenses; [ bsd3 ]; 51 maintainers = with maintainers; [ fab ]; 52 }; 53}