1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/version-management/git-and-tools/git-big-picture/default.nix
Niklas Thörne 4ae629dd91 git-big-picture: init at 0.9.0
Updated after review comments.
2017-07-09 21:21:51 +02:00

31 lines
799 B
Nix

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