python310Packages.ghrepo-stats: 0.4.0 -> 0.5.0

Changelog: https://github.com/mrbean-bremen/ghrepo-stats/blob/v0.5.0/CHANGES.md
This commit is contained in:
Fabian Affolter 2023-01-04 17:11:40 +01:00
parent b546ed5a60
commit 394d2ac392

View File

@ -1,4 +1,5 @@
{ lib
, beautifulsoup4
, buildPythonPackage
, fetchFromGitHub
, matplotlib
@ -8,7 +9,7 @@
buildPythonPackage rec {
pname = "ghrepo-stats";
version = "0.4.0";
version = "0.5.0";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -17,10 +18,17 @@ buildPythonPackage rec {
owner = "mrbean-bremen";
repo = pname;
rev = "v${version}";
hash = "sha256-KFjqHrN0prcqu3wEPZpa7rLfuD0X/DN7BMo4zcHNmYo=";
hash = "sha256-rTW6wADpkP9GglNmQNVecHfA2yJZuzYhJfsLfucbcgY=";
};
postPatch = ''
# https://github.com/mrbean-bremen/ghrepo-stats/pull/1
substituteInPlace setup.py \
--replace "bs4" "beautifulsoup4"
'';
propagatedBuildInputs = [
beautifulsoup4
matplotlib
PyGithub
];