@@ -1,41 +0,0 @@
1−{ stdenv, fetchurl, emacs, gmp, pcre, expat }:
2−
3−stdenv.mkDerivation rec {
4− name = "ledger2-2.6.3";
5−
6− src = fetchurl {
7− url = "https://github.com/downloads/ledger/ledger/${name}.tar.gz";
8− sha256 = "05zpnypcwgck7lwk00pbdlcwa347xsqifxh4zsbbn01m98bx1v5k";
9− };
10−
11− buildInputs = [ emacs gmp pcre expat ];
12−
13− configureFlags = [
14− "CPPFLAGS=-DNDEBUG"
15− "CFLAGS=-O3"
16− "CXXFLAGS=-O3"
17− ];
18−
19− doCheck = true;
20−
21− # Patchelf breaks the hard-coded rpath to ledger's libamounts.0.so and
22− # libledger-2.6.3.so. Fortunately, libtool chooses proper rpaths to
23− # begin with, so we can just disable patchelf to avoid the issue.
24− dontPatchELF = true;
25−
26− meta = {
27− homepage = https://ledger-cli.org/;
28− description = "A double-entry accounting system with a command-line reporting interface";
29− license = "BSD";
30−
31− longDescription = ''
32− Ledger is a powerful, double-entry accounting system that is accessed
33− from the UNIX command-line. This may put off some users, as there is
34− no flashy UI, but for those who want unparalleled reporting access to
35− their data, there really is no alternative.
36− '';
37−
38− platforms = stdenv.lib.platforms.all;
39− broken = true; # https://hydra.nixos.org/build/59124559/nixlog/1
40− };
41−}