2017-07-09 21:21:51 +02:00
|
|
|
{ fetchFromGitHub, python2Packages, stdenv, git, graphviz }:
|
2017-07-07 13:58:02 +02:00
|
|
|
|
|
|
|
python2Packages.buildPythonApplication rec {
|
2017-07-09 21:21:51 +02:00
|
|
|
pname = "git-big-picture";
|
2018-11-04 15:33:32 +01:00
|
|
|
version = "0.10.1";
|
2017-07-07 13:58:02 +02:00
|
|
|
|
2017-07-09 21:21:51 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "esc";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2018-11-04 15:33:32 +01:00
|
|
|
sha256 = "0b0zdq7d7k7f6p3wwc799347fraphbr20rxd1ysnc4xi1cj4wpmi";
|
2017-07-09 21:21:51 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ git graphviz ];
|
2017-07-07 13:58:02 +02:00
|
|
|
|
2019-02-15 10:08:27 +01:00
|
|
|
checkInputs = [ git ];
|
|
|
|
|
2017-07-09 21:21:51 +02:00
|
|
|
postFixup = ''
|
|
|
|
wrapProgram $out/bin/git-big-picture \
|
|
|
|
--prefix PATH ":" ${ stdenv.lib.makeBinPath buildInputs }
|
|
|
|
'';
|
2017-07-07 13:58:02 +02:00
|
|
|
|
|
|
|
meta = {
|
2018-11-04 15:33:32 +01:00
|
|
|
description = "Tool for visualization of Git repositories";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/esc/git-big-picture";
|
2017-07-07 13:58:02 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2017-07-09 21:21:51 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.nthorne ];
|
2017-07-07 13:58:02 +02:00
|
|
|
};
|
|
|
|
}
|