1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 00:22:13 +00:00
nixpkgs/pkgs/applications/version-management/gource/default.nix

42 lines
1.4 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, SDL, ftgl, pkgconfig, libpng, libjpeg, pcre
2016-08-22 05:42:36 +01:00
, SDL_image, freetype, glew, mesa, boost, glm
}:
stdenv.mkDerivation rec {
2016-10-17 14:14:28 +01:00
version = "0.44";
2014-08-31 11:44:29 +01:00
name = "gource-${version}";
src = fetchurl {
2014-08-31 11:44:29 +01:00
url = "https://github.com/acaudwell/Gource/releases/download/${name}/${name}.tar.gz";
2016-10-17 14:14:28 +01:00
sha256 = "0z095zsf5pz8czh7nmlkdy29rm93w83sqyqspg2zsprh892cl116";
};
buildInputs = [
2014-09-19 18:56:08 +01:00
glew SDL ftgl pkgconfig libpng libjpeg pcre SDL_image mesa
2016-08-22 05:42:36 +01:00
boost glm freetype
];
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];
2014-10-11 09:51:47 +01:00
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
meta = with stdenv.lib; {
homepage = http://code.google.com/p/gource/;
description = "A Software version control visualization tool";
license = 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.
'';
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}