Merge pull request #108794 from wamserma/ossf-criticality-score

pythonPackages.criticality-score: init at 1.0.7
This commit is contained in:
Sandro 2021-02-02 00:31:40 +01:00 committed by GitHub
commit dab863e0d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

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