summary refs log tree commit diff
path: root/pkgs/applications/version-management/git-and-tools/git-big-picture/default.nix
blob: 7a47ed9a992d5b205f55e75f3e86bac0c4c3f3e0 (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
27
28
29
30
{ fetchFromGitHub, python2Packages, stdenv, git, graphviz }:

python2Packages.buildPythonApplication rec {
  pname = "git-big-picture";
  version = "0.10.1";

  name = "${pname}-${version}";

  src = fetchFromGitHub {
    owner = "esc";
    repo = pname;
    rev = "v${version}";
    sha256 = "0b0zdq7d7k7f6p3wwc799347fraphbr20rxd1ysnc4xi1cj4wpmi";
  };

  buildInputs = [ git graphviz ];

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

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