Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / criticality-score / default.nix
blobe1ff8754936461d2cea14e84a713603f00b0ff74
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     homepage = "https://github.com/ossf/criticality_score";
21     changelog = "https://github.com/ossf/criticality_score/releases/tag/v${version}";
22     license = licenses.asl20;
23     maintainers = with maintainers; [ wamserma ];
24   };