git-big-picture: init at 0.9.0
Updated after review comments.
This commit is contained in:
parent
17dbed4c07
commit
4ae629dd91
|
@ -1,23 +1,30 @@
|
||||||
{ fetchgit, python2Packages, stdenv, git, graphviz }:
|
{ fetchFromGitHub, python2Packages, stdenv, git, graphviz }:
|
||||||
|
|
||||||
python2Packages.buildPythonApplication rec {
|
python2Packages.buildPythonApplication rec {
|
||||||
pname = "git-big-picture";
|
pname = "git-big-picture";
|
||||||
version = "0.9.0";
|
version = "0.9.0";
|
||||||
|
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/esc/${pname}.git";
|
owner = "esc";
|
||||||
rev = "fbe3b9504e255da859067fd58e90d849d63e5381";
|
repo = pname;
|
||||||
sha256 = "1h283gzs4nx8lrarmr454zza52cilmnbdrqn1n33v3cn1rayl3c9";
|
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 = {
|
meta = {
|
||||||
description = "Tool for visualization of Git repositories.";
|
description = "Tool for visualization of Git repositories.";
|
||||||
homepage = https://github.com/esc/git-big-picture;
|
homepage = https://github.com/esc/git-big-picture;
|
||||||
license = stdenv.lib.licenses.gpl3;
|
license = stdenv.lib.licenses.gpl3;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.nthorne ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue