2017-07-09 20:21:51 +01:00
|
|
|
{ fetchFromGitHub, python2Packages, stdenv, git, graphviz }:
|
2017-07-07 12:58:02 +01:00
|
|
|
|
|
|
|
python2Packages.buildPythonApplication rec {
|
2017-07-09 20:21:51 +01:00
|
|
|
pname = "git-big-picture";
|
|
|
|
version = "0.9.0";
|
2017-07-07 12:58:02 +01:00
|
|
|
|
2017-07-09 20:21:51 +01:00
|
|
|
name = "${pname}-${version}";
|
2017-07-07 12:58:02 +01:00
|
|
|
|
2017-07-09 20:21:51 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "esc";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1h283gzs4nx8lrarmr454zza52cilmnbdrqn1n33v3cn1rayl3c9";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ git graphviz ];
|
2017-07-07 12:58:02 +01:00
|
|
|
|
2017-07-09 20:21:51 +01:00
|
|
|
postFixup = ''
|
|
|
|
wrapProgram $out/bin/git-big-picture \
|
|
|
|
--prefix PATH ":" ${ stdenv.lib.makeBinPath buildInputs }
|
|
|
|
'';
|
2017-07-07 12:58:02 +01:00
|
|
|
|
|
|
|
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;
|
2017-07-09 20:21:51 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.nthorne ];
|
2017-07-07 12:58:02 +01:00
|
|
|
};
|
|
|
|
}
|