Merge pull request #151293 from fabaff/ghrepo-stats

python3Packages.ghrepo-stats: init at 0.3.1

authored by Fabian Affolter and committed by GitHub dd957819 ae89090c

+45
+41
pkgs/development/python-modules/ghrepo-stats/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , matplotlib 5 + , PyGithub 6 + , pythonOlder 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "ghrepo-stats"; 11 + version = "0.3.1"; 12 + format = "setuptools"; 13 + 14 + disabled = pythonOlder "3.8"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "mrbean-bremen"; 18 + repo = pname; 19 + rev = "v${version}"; 20 + sha256 = "sha256-W6RhVnMuOgB4GNxczx3UlSeq0RWIM7yISKEvpnrE9uk="; 21 + }; 22 + 23 + propagatedBuildInputs = [ 24 + matplotlib 25 + PyGithub 26 + ]; 27 + 28 + # Module has no tests 29 + doCheck = false; 30 + 31 + pythonImportsCheck = [ 32 + "ghrepo_stats" 33 + ]; 34 + 35 + meta = with lib; { 36 + description = "Python module and CLI tool for GitHub repo statistics"; 37 + homepage = "https://github.com/mrbean-bremen/ghrepo-stats"; 38 + license = licenses.mit; 39 + maintainers = with maintainers; [ fab ]; 40 + }; 41 + }
+2
pkgs/top-level/all-packages.nix
··· 5610 5611 ghr = callPackage ../applications/version-management/git-and-tools/ghr { }; 5612 5613 gibberish-detector = with python3Packages; toPythonApplication gibberish-detector; 5614 5615 gibo = callPackage ../tools/misc/gibo { };
··· 5610 5611 ghr = callPackage ../applications/version-management/git-and-tools/ghr { }; 5612 5613 + ghrepo-stats = with python3Packages; toPythonApplication ghrepo-stats; 5614 + 5615 gibberish-detector = with python3Packages; toPythonApplication gibberish-detector; 5616 5617 gibo = callPackage ../tools/misc/gibo { };
+2
pkgs/top-level/python-packages.nix
··· 3158 3159 ghp-import = callPackage ../development/python-modules/ghp-import { }; 3160 3161 gibberish-detector = callPackage ../development/python-modules/gibberish-detector { }; 3162 3163 gidgethub = callPackage ../development/python-modules/gidgethub { };
··· 3158 3159 ghp-import = callPackage ../development/python-modules/ghp-import { }; 3160 3161 + ghrepo-stats = callPackage ../development/python-modules/ghrepo-stats { }; 3162 + 3163 gibberish-detector = callPackage ../development/python-modules/gibberish-detector { }; 3164 3165 gidgethub = callPackage ../development/python-modules/gidgethub { };