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