depot/pkgs/by-name/re/repocheck/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

32 lines
672 B
Nix

{
lib,
fetchFromGitHub,
python3Packages,
}:
python3Packages.buildPythonApplication rec {
pname = "repocheck";
version = "1.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "kynikos";
repo = "repocheck";
rev = "refs/tags/v${version}";
hash = "sha256-pCz+oAfDFyDeuXumfNzLTXnftM9+IG+lZzWSKtbZ9dg=";
};
build-system = [ python3Packages.setuptools ];
pythonImportsCheck = [ "repocheck" ];
# no tests
doCheck = false;
meta = with lib; {
inherit (src.meta) homepage;
description = "Check the status of code repositories under a root directory";
mainProgram = "repocheck";
license = licenses.gpl3Plus;
};
}