about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2013-01-28 18:05:54 +0100
committerPeter Simons <simons@cryp.to>2013-01-28 18:05:54 +0100
commitb5ce83d38d3641058ba147c7067839134da60a3b (patch)
tree602402cbf999e836d075803dcabdd2cc5127e123
parentbb7a5a1a9e5355028efa4ed80204d028be6281ff (diff)
downloadnixlib-b5ce83d38d3641058ba147c7067839134da60a3b.tar
nixlib-b5ce83d38d3641058ba147c7067839134da60a3b.tar.gz
nixlib-b5ce83d38d3641058ba147c7067839134da60a3b.tar.bz2
nixlib-b5ce83d38d3641058ba147c7067839134da60a3b.tar.lz
nixlib-b5ce83d38d3641058ba147c7067839134da60a3b.tar.xz
nixlib-b5ce83d38d3641058ba147c7067839134da60a3b.tar.zst
nixlib-b5ce83d38d3641058ba147c7067839134da60a3b.zip
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.
-rw-r--r--pkgs/applications/office/ledger/2.6.3.nix18
1 files changed, 8 insertions, 10 deletions
diff --git a/pkgs/applications/office/ledger/2.6.3.nix b/pkgs/applications/office/ledger/2.6.3.nix
index 603c9ea473e8..ca71ceeca66c 100644
--- a/pkgs/applications/office/ledger/2.6.3.nix
+++ b/pkgs/applications/office/ledger/2.6.3.nix
@@ -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";
 
   src = fetchurl {
-    url = "https://github.com/jwiegley/ledger/archive/v2.6.3.tar.gz";
-    sha256 = "0fmawai1fakhvdmjrydxp2pl67vk1c1ff54z28xl2k057ws49hnm";
+    url = "https://github.com/downloads/ledger/ledger/${name}.tar.gz";
+    sha256 = "05zpnypcwgck7lwk00pbdlcwa347xsqifxh4zsbbn01m98bx1v5k";
   };
 
-  buildInputs = [ emacs gmp pcre expat autoconf automake libtool texinfo ];
-
-  preConfigure = "autoreconf -vi";
+  buildInputs = [ emacs gmp pcre expat ];
 
   configureFlags = "CPPFLAGS=-DNDEBUG CFLAGS=-O3 CXXFLAGS=-O3";
 
   doCheck = true;
 
-  # Patchelf breaks the hard-coded rpath to ledger's libamounts.so and
-  # libledger-2.6.3. Fortunately, libtool chooses proper rpaths to begin
-  # with, so we can just disable patchelf to avoid the issue.
+  # Patchelf breaks the hard-coded rpath to ledger's libamounts.0.so and
+  # libledger-2.6.3.so. Fortunately, libtool chooses proper rpaths to
+  # begin with, so we can just disable patchelf to avoid the issue.
   dontPatchELF = true;
 
   meta = {