1{ lib, buildPythonPackage, fetchPypi, PyGithub, python-gitlab }:
2
3buildPythonPackage rec {
4 pname = "criticality_score";
5 version = "1.0.7";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "0i811a27i87z3j1rw0dwrnw8v0ckbd918ms6shjawhs4cnb1c6x8";
10 };
11
12 propagatedBuildInputs = [ PyGithub python-gitlab ];
13
14 doCheck = false;
15
16 pythonImportsCheck = [ "criticality_score" ];
17
18 meta = with lib; {
19 description = "Python tool for computing the Open Source Project Criticality Score.";
20 homepage = "https://github.com/ossf/criticality_score";
21 license = licenses.asl20;
22 maintainers = with maintainers; [ wamserma ];
23 };
24}