From 2e41b522c8f793d4d9f9752785ec0eafde4dfd51 Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 28 Dec 2022 18:15:59 -0500 Subject: [PATCH] difftastic: 0.39.0 -> 0.40.0 Diff: https://github.com/wilfred/difftastic/compare/0.39.0...0.40.0 Changelog: https://github.com/Wilfred/difftastic/raw/0.40.0/CHANGELOG.md --- pkgs/tools/text/difftastic/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/text/difftastic/default.nix b/pkgs/tools/text/difftastic/default.nix index 9eaa93473251..581f441202e8 100644 --- a/pkgs/tools/text/difftastic/default.nix +++ b/pkgs/tools/text/difftastic/default.nix @@ -9,24 +9,24 @@ rustPlatform.buildRustPackage rec { pname = "difftastic"; - version = "0.39.0"; + version = "0.40.0"; src = fetchFromGitHub { owner = "wilfred"; repo = pname; rev = version; - sha256 = "sha256-PyjgnO5LXV0UGNqpb2J39Ni077L5MjHc5ZkK/r8//II="; + sha256 = "sha256-zLps/R3KMx51eGdHINmvq9Cv4JTkVSont3Gktwgxsrg="; }; depsExtraArgs = { postBuild = let - mimallocPatch = (fetchpatch { + mimallocPatch = fetchpatch { name = "mimalloc-older-macos-fixes.patch"; url = "https://github.com/microsoft/mimalloc/commit/40e0507a5959ee218f308d33aec212c3ebeef3bb.patch"; stripLen = 1; extraPrefix = "libmimalloc-sys/c_src/mimalloc/"; sha256 = "1cqgay6ayzxsj8v1dy8405kwd8av34m4bjc84iyg9r52amlijbg4"; - }); + }; in '' pushd $name patch -p1 < ${mimallocPatch} @@ -40,7 +40,7 @@ rustPlatform.buildRustPackage rec { popd ''; }; - cargoSha256 = "sha256-jVs5KokgofAqhNLfr/RJ9qOHwBYMnkqc2EcAFezS9/0="; + cargoSha256 = "sha256-kVJwGEY0TvsKzTbcSgOSWIhx8MbH/KNB3Q8KvQfhCac="; passthru.tests.version = testers.testVersion { package = difftastic; };