2017-09-22 15:38:03 -07:00
|
|
|
{ stdenv, fetchurl, SDL2, ftgl, pkgconfig, libpng, libjpeg, pcre
|
|
|
|
, SDL2_image, freetype, glew, mesa, boost, glm
|
2014-01-16 01:25:04 -08:00
|
|
|
}:
|
2012-01-15 03:44:02 -08:00
|
|
|
|
2014-01-16 01:25:04 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2017-09-22 15:38:03 -07:00
|
|
|
version = "0.47";
|
2014-08-31 03:44:29 -07:00
|
|
|
name = "gource-${version}";
|
2012-01-15 03:44:02 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-08-31 03:44:29 -07:00
|
|
|
url = "https://github.com/acaudwell/Gource/releases/download/${name}/${name}.tar.gz";
|
2017-09-22 15:38:03 -07:00
|
|
|
sha256 = "1llqwdnfa1pff8bxk27qsqff1fcg0a9kfdib0rn7p28vl21n1cgj";
|
2012-01-15 03:44:02 -08:00
|
|
|
};
|
|
|
|
|
2017-09-14 12:24:37 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2014-01-16 01:25:04 -08:00
|
|
|
buildInputs = [
|
2017-09-28 09:32:57 -07:00
|
|
|
glew SDL2 ftgl libpng libjpeg pcre SDL2_image mesa
|
2016-08-21 21:42:36 -07:00
|
|
|
boost glm freetype
|
2014-01-16 01:25:04 -08:00
|
|
|
];
|
2012-01-15 03:44:02 -08:00
|
|
|
|
2016-04-27 14:41:28 -07:00
|
|
|
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];
|
2014-10-11 01:51:47 -07:00
|
|
|
|
2014-12-04 05:29:59 -08: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 02:22:04 -08:00
|
|
|
|
2014-11-18 23:42:52 -08:00
|
|
|
meta = with stdenv.lib; {
|
2017-10-26 16:44:19 -07:00
|
|
|
homepage = http://gource.io/;
|
2014-11-18 23:42:52 -08:00
|
|
|
description = "A Software version control visualization tool";
|
|
|
|
license = licenses.gpl3Plus;
|
2012-01-15 03:44:02 -08: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-18 23:42:52 -08:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2012-01-15 03:44:02 -08:00
|
|
|
};
|
|
|
|
}
|