summary refs log tree commit diff
path: root/pkgs/applications/version-management/git-big-picture/default.nix
blob: decd3c51a392f4017cf76135378b0713f4c8bcb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ python3Packages, lib, git, graphviz }:

python3Packages.buildPythonApplication rec {
  pname = "git-big-picture";
  version = "1.1.1";
  format = "wheel";

  src = python3Packages.fetchPypi {
    inherit format version;
    pname = "git_big_picture";  # underscores needed for working download URL
    python = "py3";  # i.e. no Python 2.7
    sha256 = "a20a480057ced1585c4c38497d27a5012f12dd29697313f0bb8fa6ddbb5c17d8";
  };

  postFixup = ''
    wrapProgram $out/bin/git-big-picture \
      --prefix PATH ":" ${ lib.makeBinPath [ git graphviz ]  }
    '';

  meta = {
    description = "Tool for visualization of Git repositories";
    homepage = "https://github.com/git-big-picture/git-big-picture";
    license = lib.licenses.gpl3Plus;
    maintainers = [ lib.maintainers.nthorne ];
  };
}