2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, SDL2, ftgl, pkg-config, libpng, libjpeg, pcre
|
2019-11-10 16:44:34 +00:00
|
|
|
, SDL2_image, freetype, glew, libGLU, libGL, 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 {
|
2019-11-26 02:22:49 +00:00
|
|
|
version = "0.51";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gource";
|
2012-01-15 11:44:02 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://github.com/acaudwell/Gource/releases/download/${pname}-${version}/${pname}-${version}.tar.gz";
|
2019-11-26 02:22:49 +00:00
|
|
|
sha256 = "16p7b1x4r0915w883lp374jcdqqja37fnb7m8vnsfnl2n64gi8qr";
|
2012-01-15 11:44:02 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2014-01-16 09:25:04 +00:00
|
|
|
buildInputs = [
|
2019-11-10 16:44:34 +00:00
|
|
|
glew SDL2 ftgl libpng libjpeg pcre SDL2_image libGLU libGL
|
2016-08-22 04:42:36 +00:00
|
|
|
boost glm freetype
|
2014-01-16 09:25:04 +00:00
|
|
|
];
|
2012-01-15 11:44:02 +00:00
|
|
|
|
2016-04-27 21:41:28 +00:00
|
|
|
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];
|
2014-10-11 08:51:47 +00:00
|
|
|
|
2017-11-27 15:38:42 +00:00
|
|
|
enableParallelBuilding = true;
|
2014-01-05 10:22:04 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://gource.io/";
|
2014-11-19 07:42:52 +00:00
|
|
|
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.
|
|
|
|
'';
|
2017-11-27 15:38:42 +00:00
|
|
|
platforms = platforms.unix;
|
2014-11-19 07:42:52 +00:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
2012-01-15 11:44:02 +00:00
|
|
|
};
|
|
|
|
}
|