2014-01-16 09:25:04 +00:00
|
|
|
{ stdenv, fetchurl, SDL, ftgl, pkgconfig, libpng, libjpeg, pcre
|
2014-01-18 17:46:18 +00:00
|
|
|
, SDL_image, glew, mesa, boost, glm
|
2014-01-16 09:25:04 +00:00
|
|
|
}:
|
2012-01-15 11:44:02 +00:00
|
|
|
|
2014-01-16 09:25:04 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-11-19 07:42:52 +00:00
|
|
|
version = "0.43";
|
2014-08-31 11:44:29 +01:00
|
|
|
name = "gource-${version}";
|
2012-01-15 11:44:02 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-08-31 11:44:29 +01:00
|
|
|
url = "https://github.com/acaudwell/Gource/releases/download/${name}/${name}.tar.gz";
|
2014-11-19 07:42:52 +00:00
|
|
|
sha256 = "1r5x9ai86f609hf584n0xaf5hxkbilj5qihn89v7ghpmwk40m945";
|
2012-01-15 11:44:02 +00:00
|
|
|
};
|
|
|
|
|
2014-01-16 09:25:04 +00:00
|
|
|
buildInputs = [
|
2014-09-19 18:56:08 +01:00
|
|
|
glew SDL ftgl pkgconfig libpng libjpeg pcre SDL_image mesa
|
2014-10-01 20:55:40 +01:00
|
|
|
boost glm
|
2014-01-16 09:25:04 +00:00
|
|
|
];
|
2012-01-15 11:44:02 +00:00
|
|
|
|
2014-10-11 09:51:47 +01:00
|
|
|
configureFlags = [ "--with-boost-libdir=${boost.lib}/lib" ];
|
|
|
|
|
2014-12-04 13:29:59 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-fpermissive " + # fix build with newer gcc versions
|
|
|
|
"-std=c++11"; # fix build with glm >= 0.9.6.0
|
2014-01-05 10:22:04 +00:00
|
|
|
|
2014-11-19 07:42:52 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://code.google.com/p/gource/;
|
|
|
|
description = "A Software version control visualization tool";
|
|
|
|
license = licenses.gpl3Plus;
|
2012-01-15 11:44:02 +00:00
|
|
|
longDescription = ''
|
|
|
|
Software projects are displayed by Gource as an animated tree with
|
|
|
|
the root directory of the project at its centre. Directories
|
|
|
|
appear as branches with files as leaves. Developers can be seen
|
|
|
|
working on the tree at the times they contributed to the project.
|
|
|
|
|
|
|
|
Currently Gource includes built-in log generation support for Git,
|
|
|
|
Mercurial and Bazaar and SVN. Gource can also parse logs produced
|
|
|
|
by several third party tools for CVS repositories.
|
|
|
|
'';
|
2014-11-19 07:42:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2012-01-15 11:44:02 +00:00
|
|
|
};
|
|
|
|
}
|