pythonPackages.criticality_score: init at 1.0.7

This commit is contained in:
Markus S. Wamser 2021-01-08 17:47:50 +01:00
parent ca90340333
commit 26573de80c
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ lib, buildPythonPackage, fetchPypi, PyGithub, python-gitlab }:
buildPythonPackage rec {
pname = "criticality_score";
version = "1.0.7";
src = fetchPypi {
inherit pname version;
sha256 = "0i811a27i87z3j1rw0dwrnw8v0ckbd918ms6shjawhs4cnb1c6x8";
};
propagatedBuildInputs = [ PyGithub python-gitlab ];
doCheck = false;
pythonImportsCheck = [ "criticality_score" ];
meta = with lib; {
description = "Python tool for computing the Open Source Project Criticality Score.";
homepage = "https://github.com/ossf/criticality_score";
license = licenses.asl20;
maintainers = with maintainers; [ wamserma ];
};
}

View File

@ -1426,6 +1426,8 @@ in {
credstash = callPackage ../development/python-modules/credstash { }; credstash = callPackage ../development/python-modules/credstash { };
criticality-score = callPackage ../development/python-modules/criticality-score { };
croniter = callPackage ../development/python-modules/croniter { }; croniter = callPackage ../development/python-modules/croniter { };
cryptacular = callPackage ../development/python-modules/cryptacular { }; cryptacular = callPackage ../development/python-modules/cryptacular { };