diff --git a/pkgs/by-name/gi/git-big-picture/package.nix b/pkgs/by-name/gi/git-big-picture/package.nix index 43d127a2aae7..818fbd13b5b2 100644 --- a/pkgs/by-name/gi/git-big-picture/package.nix +++ b/pkgs/by-name/gi/git-big-picture/package.nix @@ -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