gource: 0.51 → 0.53

This commit is contained in:
Nikolay Korotkiy 2022-08-30 14:07:23 +03:00
parent 25f7edccc7
commit 3f0693c348
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5

View File

@ -1,23 +1,31 @@
{ lib, stdenv, fetchurl, SDL2, ftgl, pkg-config, libpng, libjpeg, pcre
, SDL2_image, freetype, glew, libGLU, libGL, boost, glm
{ lib, stdenv, fetchurl, SDL2, ftgl, pkg-config, libpng, libjpeg, pcre2
, SDL2_image, freetype, glew, libGLU, libGL, boost, glm, tinyxml
}:
stdenv.mkDerivation rec {
version = "0.51";
pname = "gource";
version = "0.53";
src = fetchurl {
url = "https://github.com/acaudwell/Gource/releases/download/${pname}-${version}/${pname}-${version}.tar.gz";
sha256 = "16p7b1x4r0915w883lp374jcdqqja37fnb7m8vnsfnl2n64gi8qr";
hash = "sha256-PV9kwcaBL2RMMgy8mphY35e8YDb8Hl9gPKRrFbjdcjc=";
};
postPatch = ''
# remove bundled library
rm -r src/tinyxml
'';
nativeBuildInputs = [ pkg-config ];
buildInputs = [
glew SDL2 ftgl libpng libjpeg pcre SDL2_image libGLU libGL
boost glm freetype
glew SDL2 ftgl libpng libjpeg pcre2 SDL2_image libGLU libGL
boost glm freetype tinyxml
];
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];
configureFlags = [
"--with-boost-libdir=${boost.out}/lib"
"--with-tinyxml"
];
enableParallelBuilding = true;