mpdecimal: 4.0.0 -> 4.0.1 (#405126)

This commit is contained in:
Philip Taron 2025-06-02 13:57:40 -07:00 committed by GitHub
commit 003e42348c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,7 @@
stdenv.mkDerivation rec {
pname = "mpdecimal";
version = "4.0.0";
version = "4.0.1";
outputs = [
"out"
"cxx"
@ -17,18 +17,12 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-${version}.tar.gz";
hash = "sha256-lCRFwyRbInMP1Bpnp8XCMdEcsbmTa5wPdjNPt9C0Row=";
hash = "sha256-ltM6u0uwBwx74P7UJGzThBYYgyX4IEaCFEcZOFRbGsg=";
};
nativeBuildInputs = [ autoreconfHook ];
configureFlags = [ "LD=${stdenv.cc.targetPrefix}cc" ];
postPatch = ''
# Use absolute library install names on Darwin.
substituteInPlace configure.ac \
--replace-fail '-install_name @rpath/' "-install_name $out/lib/"
'';
enableParallelBuilding = true;
postInstall = ''
mkdir -p $cxx/lib