Unverified Commit eb0e9a38 authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

git-big-picture: 1.1.1 -> 1.3.0 (#384097)

parents 5fcda97f b0bd4523
Loading
Loading
Loading
Loading
+11 −9
Original line number Diff line number Diff line
{
  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