ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / ghrepo-stats / default.nix
blob0552dbbf62dc9df71feed2d63a89e29fd34469f6
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , matplotlib
5 , PyGithub
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "ghrepo-stats";
11   version = "0.3.1";
12   format = "setuptools";
14   disabled = pythonOlder "3.8";
16   src = fetchFromGitHub {
17     owner = "mrbean-bremen";
18     repo = pname;
19     rev = "v${version}";
20     sha256 = "sha256-W6RhVnMuOgB4GNxczx3UlSeq0RWIM7yISKEvpnrE9uk=";
21   };
23   propagatedBuildInputs = [
24     matplotlib
25     PyGithub
26   ];
28   # Module has no tests
29   doCheck = false;
31   pythonImportsCheck = [
32     "ghrepo_stats"
33   ];
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   };