From 5dee69a240e48f250918fd57e91e4a66910909d2 Mon Sep 17 00:00:00 2001 From: wxt <3264117476@qq.com> Date: Mon, 4 Nov 2024 17:10:37 +0800 Subject: [PATCH] git-fast-export: 221024 -> 231118 --- pkgs/by-name/gi/git-fast-export/package.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/gi/git-fast-export/package.nix b/pkgs/by-name/gi/git-fast-export/package.nix index 73328bc9e52f..f94bf3a3e580 100644 --- a/pkgs/by-name/gi/git-fast-export/package.nix +++ b/pkgs/by-name/gi/git-fast-export/package.nix @@ -6,19 +6,27 @@ mercurial, makeWrapper, nix-update-script, + fetchpatch, }: -stdenv.mkDerivation (finalAttrs:{ +stdenv.mkDerivation (finalAttrs: { pname = "fast-export"; - version = "221024"; + version = "231118"; src = fetchFromGitHub { owner = "frej"; repo = "fast-export"; rev = "v${finalAttrs.version}"; - hash = "sha256-re8iXM8s+TD35UGKalq2kVn8fx68fsnUC7Yo+/DQ9SM="; + hash = "sha256-JUy0t2yzd4bI7WPGG1E8L1topLfR5leV/WTU+u0bCyM="; }; + patches = [ + (fetchpatch { + url = "https://github.com/frej/fast-export/commit/a3d0562737e1e711659e03264e45cb47a5a2f46d.patch?full_index=1"; + hash = "sha256-vZOHnb5lXO22ElCK4oWQKCcPIqRyZV5axWfZqa84V1Y="; + }) + ]; + nativeBuildInputs = [ makeWrapper ]; buildInputs = [ mercurial.python