ledger-2.6.3: update the location of the source code tarball some more
I found the original tarball at a different URL. This one doesn't require Autoconf et al to compile.
This commit is contained in:
parent
bb7a5a1a9e
commit
b5ce83d38d
@ -1,24 +1,22 @@
|
|||||||
{ stdenv, fetchurl, emacs, gmp, pcre, expat, autoconf, automake, libtool, texinfo }:
|
{ stdenv, fetchurl, emacs, gmp, pcre, expat }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "ledger-2.6.3";
|
name = "ledger-2.6.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/jwiegley/ledger/archive/v2.6.3.tar.gz";
|
url = "https://github.com/downloads/ledger/ledger/${name}.tar.gz";
|
||||||
sha256 = "0fmawai1fakhvdmjrydxp2pl67vk1c1ff54z28xl2k057ws49hnm";
|
sha256 = "05zpnypcwgck7lwk00pbdlcwa347xsqifxh4zsbbn01m98bx1v5k";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ emacs gmp pcre expat autoconf automake libtool texinfo ];
|
buildInputs = [ emacs gmp pcre expat ];
|
||||||
|
|
||||||
preConfigure = "autoreconf -vi";
|
|
||||||
|
|
||||||
configureFlags = "CPPFLAGS=-DNDEBUG CFLAGS=-O3 CXXFLAGS=-O3";
|
configureFlags = "CPPFLAGS=-DNDEBUG CFLAGS=-O3 CXXFLAGS=-O3";
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
# Patchelf breaks the hard-coded rpath to ledger's libamounts.so and
|
# Patchelf breaks the hard-coded rpath to ledger's libamounts.0.so and
|
||||||
# libledger-2.6.3. Fortunately, libtool chooses proper rpaths to begin
|
# libledger-2.6.3.so. Fortunately, libtool chooses proper rpaths to
|
||||||
# with, so we can just disable patchelf to avoid the issue.
|
# begin with, so we can just disable patchelf to avoid the issue.
|
||||||
dontPatchELF = true;
|
dontPatchELF = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user