1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pygithub, 6 python-gitlab, 7}: 8 9buildPythonPackage rec { 10 pname = "criticality_score"; 11 version = "1.0.8"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-5XkVT0blnLG158a01jDfQl1Rx9U1LMsqaMjTdN7Q4QQ="; 16 }; 17 18 propagatedBuildInputs = [ 19 pygithub 20 python-gitlab 21 ]; 22 23 doCheck = false; 24 25 pythonImportsCheck = [ "criticality_score" ]; 26 27 meta = with lib; { 28 description = "Python tool for computing the Open Source Project Criticality Score."; 29 mainProgram = "criticality_score"; 30 homepage = "https://github.com/ossf/criticality_score"; 31 changelog = "https://github.com/ossf/criticality_score/releases/tag/v${version}"; 32 license = licenses.asl20; 33 maintainers = with maintainers; [ wamserma ]; 34 }; 35}