nixpkgs/pkgs/development/python-modules/criticality-score/default.nix
Alexis Hildebrandt bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00

36 lines
790 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pygithub,
python-gitlab,
}:
buildPythonPackage rec {
pname = "criticality_score";
version = "1.0.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-5XkVT0blnLG158a01jDfQl1Rx9U1LMsqaMjTdN7Q4QQ=";
};
propagatedBuildInputs = [
pygithub
python-gitlab
];
doCheck = false;
pythonImportsCheck = [ "criticality_score" ];
meta = with lib; {
description = "Python tool for computing the Open Source Project Criticality Score";
mainProgram = "criticality_score";
homepage = "https://github.com/ossf/criticality_score";
changelog = "https://github.com/ossf/criticality_score/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ wamserma ];
};
}