11 buildPythonPackage rec {
12 pname = "ghrepo-stats";
14 format = "setuptools";
16 disabled = pythonOlder "3.8";
18 src = fetchFromGitHub {
19 owner = "mrbean-bremen";
21 rev = "refs/tags/v${version}";
22 hash = "sha256-Mr0FM2CbdgAUF8siMjUIZvypWiPNPU9OncPiBPqK3uE=";
26 # https://github.com/mrbean-bremen/ghrepo-stats/pull/1
27 substituteInPlace setup.py \
28 --replace "bs4" "beautifulsoup4"
31 propagatedBuildInputs = [
40 pythonImportsCheck = [ "ghrepo_stats" ];
43 description = "Python module and CLI tool for GitHub repo statistics";
44 mainProgram = "show-ghstats";
45 homepage = "https://github.com/mrbean-bremen/ghrepo-stats";
46 changelog = "https://github.com/mrbean-bremen/ghrepo-stats/blob/v${version}/CHANGES.md";
47 license = licenses.mit;
48 maintainers = with maintainers; [ fab ];