2014-01-16 10:25:04 +01:00
|
|
|
{ stdenv, fetchurl, SDL, ftgl, pkgconfig, libpng, libjpeg, pcre
|
2014-01-18 18:46:18 +01:00
|
|
|
, SDL_image, glew, mesa, boost, glm
|
2014-01-16 10:25:04 +01:00
|
|
|
}:
|
2012-01-15 12:44:02 +01:00
|
|
|
|
2014-01-16 10:25:04 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2014-01-13 17:22:07 +01:00
|
|
|
name = "gource-0.40";
|
2012-01-15 12:44:02 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://gource.googlecode.com/files/${name}.tar.gz";
|
2014-01-13 17:22:07 +01:00
|
|
|
sha256 = "04nirh07xjslqsph557as4s50nlf91bi6v2l7vmbifmkdf90m2cw";
|
2012-01-15 12:44:02 +01:00
|
|
|
};
|
|
|
|
|
2014-01-16 10:25:04 +01:00
|
|
|
buildInputs = [
|
2014-01-18 18:46:18 +01:00
|
|
|
glew SDL ftgl pkgconfig libpng libjpeg pcre SDL_image mesa boost glm
|
2014-01-16 10:25:04 +01:00
|
|
|
];
|
2012-01-15 12:44:02 +01:00
|
|
|
|
2014-01-18 18:46:18 +01:00
|
|
|
configureFlags = "--with-boost-libdir=${boost}/lib";
|
|
|
|
|
2014-01-05 11:22:04 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-fpermissive"; # fix build with newer gcc versions
|
|
|
|
|
2012-01-15 12:44:02 +01:00
|
|
|
meta = {
|
|
|
|
homepage = "http://code.google.com/p/gource/";
|
|
|
|
description = "software version control visualization tool";
|
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
|
|
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-01-18 18:46:18 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2012-01-15 12:44:02 +01:00
|
|
|
};
|
|
|
|
}
|