From 3f0693c348e305a97de55a903fba1ef5f0a793d9 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Tue, 30 Aug 2022 14:07:23 +0300 Subject: [PATCH] =?UTF-8?q?gource:=200.51=20=E2=86=92=200.53?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../version-management/gource/default.nix | 22 +++++++++++++------ 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/version-management/gource/default.nix b/pkgs/applications/version-management/gource/default.nix index c4a86b8d4be9..584dd97d3e22 100644 --- a/pkgs/applications/version-management/gource/default.nix +++ b/pkgs/applications/version-management/gource/default.nix @@ -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;