Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / criticality-score / default.nix
blobffea5ad31dad3a6dc8a750fe49153debd2e7d316
1 { lib, buildPythonPackage, fetchPypi, pygithub, python-gitlab }:
3 buildPythonPackage rec {
4   pname = "criticality_score";
5   version = "1.0.8";
7   src = fetchPypi {
8     inherit pname version;
9     hash = "sha256-5XkVT0blnLG158a01jDfQl1Rx9U1LMsqaMjTdN7Q4QQ=";
10   };
12   propagatedBuildInputs = [ pygithub python-gitlab ];
14   doCheck = false;
16   pythonImportsCheck = [ "criticality_score" ];
18   meta = with lib; {
19     description = "Python tool for computing the Open Source Project Criticality Score.";
20     mainProgram = "criticality_score";
21     homepage = "https://github.com/ossf/criticality_score";
22     changelog = "https://github.com/ossf/criticality_score/releases/tag/v${version}";
23     license = licenses.asl20;
24     maintainers = with maintainers; [ wamserma ];
25   };