mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
mpdecimal: 4.0.0 -> 4.0.1 (#405126)
This commit is contained in:
commit
003e42348c
1 changed files with 3 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue