mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
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:
parent
b546ed5a60
commit
394d2ac392
@ -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
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user