diff options
author | superherointj <5861043+superherointj@users.noreply.github.com> | 2022-08-30 21:00:59 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-30 21:00:59 -0300 |
commit | 9caf99cf2e7eccf63acd53912ad86b96cfc50406 (patch) | |
tree | a10d013b872e1db6479e8d7d2823d73532e79742 /pkgs/applications/version-management | |
parent | cefa480492b3778e1424866e8a063d961f1f80cb (diff) | |
parent | 3f0693c348e305a97de55a903fba1ef5f0a793d9 (diff) |
Merge pull request #188950 from sikmir/gource
gource: 0.51 → 0.53
Diffstat (limited to 'pkgs/applications/version-management')
-rw-r--r-- | pkgs/applications/version-management/gource/default.nix | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/pkgs/applications/version-management/gource/default.nix b/pkgs/applications/version-management/gource/default.nix index c4a86b8d4be98..584dd97d3e22d 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; |