git-big-picture: 1.1.1 -> 1.3.0

This commit is contained in:
emaryn 2025-02-22 09:20:05 +08:00
parent f2acf15f1d
commit b0bd452327

View file

@ -1,26 +1,28 @@
{
lib,
python3Packages,
fetchPypi,
fetchFromGitHub,
git,
graphviz,
}:
python3Packages.buildPythonApplication rec {
pname = "git-big-picture";
version = "1.1.1";
format = "wheel";
version = "1.3.0";
pyproject = true;
src = fetchPypi {
inherit format version;
pname = "git_big_picture"; # underscores needed for working download URL
python = "py3"; # i.e. no Python 2.7
sha256 = "a20a480057ced1585c4c38497d27a5012f12dd29697313f0bb8fa6ddbb5c17d8";
src = fetchFromGitHub {
owner = "git-big-picture";
repo = "git-big-picture";
tag = "v${version}";
hash = "sha256-aBwSw7smeRkkXSPY02Cs+jFI1wvgj1JisUny+R8G59E=";
};
build-system = with python3Packages; [ setuptools ];
postFixup = ''
wrapProgram $out/bin/git-big-picture \
--prefix PATH ":" ${
--prefix PATH : ${
lib.makeBinPath [
git
graphviz