From 4620c34eb42c01efe6e7f1b3c6643aea661af622 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Thu, 17 Apr 2025 17:24:28 +0200 Subject: [PATCH] f3d: 3.0.0 -> 3.1.0 Diff: https://github.com/f3d-app/f3d/compare/refs/tags/v3.0.0...v3.1.0 Changelog: https://github.com/f3d-app/f3d/releases/tag/v3.1.0 --- pkgs/applications/graphics/f3d/default.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/graphics/f3d/default.nix b/pkgs/applications/graphics/f3d/default.nix index 5f1d20c94fa2..2117a65a821b 100644 --- a/pkgs/applications/graphics/f3d/default.nix +++ b/pkgs/applications/graphics/f3d/default.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch, cmake, help2man, gzip, @@ -22,7 +23,7 @@ stdenv.mkDerivation rec { pname = "f3d"; - version = "3.0.0"; + version = "3.1.0"; outputs = [ "out" ] ++ lib.optionals withManual [ "man" ]; @@ -30,9 +31,18 @@ stdenv.mkDerivation rec { owner = "f3d-app"; repo = "f3d"; tag = "v${version}"; - hash = "sha256-mnDmo5qzdnElhvZwBmHL3xC2o8iLuvYyfZXHoaAUG08="; + hash = "sha256-QJQlZXUZyWhpYteHoIsGOj1jdf3Lpy/BMXopeto4IRo="; }; + patches = [ + # https://github.com/f3d-app/f3d/pull/2155 + (fetchpatch { + name = "add-missing-include.patch"; + url = "https://github.com/f3d-app/f3d/commit/3814f3356d888ce59bbe6eda0293c2de73b0c89a.patch"; + hash = "sha256-TeV8byIxX6PBEW06/sS7kHaSS99S88WiyzjHZ/Zh5x4="; + }) + ]; + nativeBuildInputs = [ cmake