nixpkgs-suyu/pkgs/applications/version-management/git-and-tools/git-big-picture/default.nix

31 lines
794 B
Nix
Raw Normal View History

{ fetchFromGitHub, python2Packages, stdenv, git, graphviz }:
2017-07-07 13:58:02 +02:00
python2Packages.buildPythonApplication rec {
pname = "git-big-picture";
version = "0.10.1";
2017-07-07 13:58:02 +02:00
src = fetchFromGitHub {
owner = "esc";
repo = pname;
rev = "v${version}";
sha256 = "0b0zdq7d7k7f6p3wwc799347fraphbr20rxd1ysnc4xi1cj4wpmi";
};
buildInputs = [ git graphviz ];
2017-07-07 13:58:02 +02:00
checkInputs = [ git ];
postFixup = ''
wrapProgram $out/bin/git-big-picture \
--prefix PATH ":" ${ stdenv.lib.makeBinPath buildInputs }
'';
2017-07-07 13:58:02 +02:00
meta = {
description = "Tool for visualization of Git repositories";
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;
maintainers = [ stdenv.lib.maintainers.nthorne ];
2017-07-07 13:58:02 +02:00
};
}