git.iko.soy/typeable/nixpkgs
on master help sign in
ledger: remove old version 2.6.3

Version 2.6.3 was released > 5 years ago and has been marked as broken for some time. It is time to remove it. This also documents why ledger3 cannot yet build with boost >= 1.67

commitca84a48d7d1144e55bfb4611779e319f3ecc2b1b authorBenjamin Hipple <bhipple@protonmail.com> dateSun 8 Mar 2020, 21:19 (7 years ago) parent58f2d11
2 files changed+4−44
pkgs/applications/office/ledger/2.6.3.nix−41 pkgs/top-level/all-packages.nix+4−3
pkgs/applications/office/ledger/2.6.3.nixdeleted−41
@@ -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−}
pkgs/top-level/all-packages.nix+4−3
@@ -20228,11 +20228,12 @@ in
2022820228
2022920229 linuxband = callPackage ../applications/audio/linuxband { };
2023020230
20231− ledger2 = callPackage ../applications/office/ledger/2.6.3.nix { };
20232− ledger3 = callPackage ../applications/office/ledger {
20231+ ledger = callPackage ../applications/office/ledger {
20232+ # Boost >= 1.67 changed the name of boost python; ledger's cmake build needs
20233+ # an update to find it:
20234+ # https://www.boost.org/doc/libs/1_68_0/libs/python/doc/html/rn.html
2023320235 boost = boost15x;
2023420236 };
20235− ledger = ledger3;
2023620237
2023720238 ledger-autosync = callPackage ../applications/office/ledger-autosync { };
2023820239