mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 12:43:52 +00:00
da4e07b666
Semi-automatic update. These checks were done: - built on NixOS - ran `/nix/store/gyy4z4wamcdzymm7q4a6j1dljxcad7w2-gource-0.48/bin/gource -h` got 0 exit code - ran `/nix/store/gyy4z4wamcdzymm7q4a6j1dljxcad7w2-gource-0.48/bin/gource --help` got 0 exit code - ran `/nix/store/gyy4z4wamcdzymm7q4a6j1dljxcad7w2-gource-0.48/bin/gource -h` and found version 0.48 - ran `/nix/store/gyy4z4wamcdzymm7q4a6j1dljxcad7w2-gource-0.48/bin/gource --help` and found version 0.48 - found 0.48 with grep in /nix/store/gyy4z4wamcdzymm7q4a6j1dljxcad7w2-gource-0.48 - found 0.48 in filename of file in /nix/store/gyy4z4wamcdzymm7q4a6j1dljxcad7w2-gource-0.48
42 lines
1.4 KiB
Nix
42 lines
1.4 KiB
Nix
{ stdenv, fetchurl, SDL2, ftgl, pkgconfig, libpng, libjpeg, pcre
|
|
, SDL2_image, freetype, glew, libGLU_combined, boost, glm
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.48";
|
|
name = "gource-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/acaudwell/Gource/releases/download/${name}/${name}.tar.gz";
|
|
sha256 = "04qxcm05qiyr9rg2kv6abfy7kkzqr8ziw4iyp1d14lniv93m61dp";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [
|
|
glew SDL2 ftgl libpng libjpeg pcre SDL2_image libGLU_combined
|
|
boost glm freetype
|
|
];
|
|
|
|
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://gource.io/;
|
|
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.unix;
|
|
maintainers = with maintainers; [ pSub ];
|
|
};
|
|
}
|