@@ -0,0 +1,30 @@
1+{ fetchFromGitHub, python2Packages, stdenv, git, graphviz }:
2+
3+python2Packages.buildPythonApplication rec {
4+ pname = "git-big-picture";
5+ version = "0.9.0";
6+
7+ name = "${pname}-${version}";
8+
9+ src = fetchFromGitHub {
10+ owner = "esc";
11+ repo = pname;
12+ rev = "v${version}";
13+ sha256 = "1h283gzs4nx8lrarmr454zza52cilmnbdrqn1n33v3cn1rayl3c9";
14+ };
15+
16+ buildInputs = [ git graphviz ];
17+
18+ postFixup = ''
19+ wrapProgram $out/bin/git-big-picture \
20+ --prefix PATH ":" ${ stdenv.lib.makeBinPath buildInputs }
21+ '';
22+
23+ meta = {
24+ description = "Tool for visualization of Git repositories.";
25+ homepage = https://github.com/esc/git-big-picture;
26+ license = stdenv.lib.licenses.gpl3;
27+ platforms = stdenv.lib.platforms.linux;
28+ maintainers = [ stdenv.lib.maintainers.nthorne ];
29+ };
30+}