1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

git-big-picture: init at 0.9.0

Updated after review comments.
This commit is contained in:
Niklas Thörne 2017-07-09 21:21:51 +02:00
parent 17dbed4c07
commit 4ae629dd91

View file

@ -1,23 +1,30 @@
{ fetchgit, python2Packages, stdenv, git, graphviz }:
{ fetchFromGitHub, python2Packages, stdenv, git, graphviz }:
python2Packages.buildPythonApplication rec {
pname = "git-big-picture";
version = "0.9.0";
pname = "git-big-picture";
version = "0.9.0";
name = "${pname}-${version}";
name = "${pname}-${version}";
src = fetchgit {
url = "https://github.com/esc/${pname}.git";
rev = "fbe3b9504e255da859067fd58e90d849d63e5381";
sha256 = "1h283gzs4nx8lrarmr454zza52cilmnbdrqn1n33v3cn1rayl3c9";
};
src = fetchFromGitHub {
owner = "esc";
repo = pname;
rev = "v${version}";
sha256 = "1h283gzs4nx8lrarmr454zza52cilmnbdrqn1n33v3cn1rayl3c9";
};
propagatedBuildInputs = [ git graphviz ];
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 ];
};
}