nixpkgs/pkgs/applications/version-management/gource/default.nix

38 lines
1.3 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, SDL, ftgl, pkgconfig, libpng, libjpeg, pcre
, SDL_image, glew, mesa, boost, glm
}:
stdenv.mkDerivation rec {
2014-08-31 12:44:29 +02:00
version = "0.42";
name = "gource-${version}";
src = fetchurl {
2014-08-31 12:44:29 +02:00
url = "https://github.com/acaudwell/Gource/releases/download/${name}/${name}.tar.gz";
sha256 = "08ab57z44y8b5wxg1193j6hiy50njbpi6dwafjh6nb0apcq8ziz5";
};
buildInputs = [
2014-09-19 19:56:08 +02:00
glew SDL ftgl pkgconfig libpng libjpeg pcre SDL_image mesa
2014-10-01 21:55:40 +02:00
boost glm
];
NIX_CFLAGS_COMPILE = "-fpermissive"; # fix build with newer gcc versions
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.
'';
platforms = stdenv.lib.platforms.linux;
};
}