ledger3: Update to 3.1

This commit also adds pkgs.ledger2 and pkgs.ledger3 plus a default
attribute pkgs.ledger pointing at ledger3.
wip/yesman
Moritz Ulrich 10 years ago
parent a0696b4536
commit df995253e3
  1. 12
      pkgs/applications/office/ledger/default.nix
  2. 5
      pkgs/top-level/all-packages.nix

@ -2,16 +2,18 @@
, texinfo, gnused }:
let
rev = "5961384";
version = "3.1";
in
stdenv.mkDerivation {
name = "ledger-3.0.4.${rev}";
name = "ledger-${version}";
# NOTE: fetchgit because ledger has submodules not included in the
# default github tarball.
src = fetchgit {
url = "git://github.com/ledger/ledger.git";
inherit rev;
sha256 = "0fmmhr3as4v2kb6h64k1fq979080cqhd75jvxfg7axk2mylb6b3q";
url = "https://github.com/ledger/ledger.git";
rev = "refs/tags/v${version}";
sha256 = "1l5y4k830jyw7n1nnhssci3qahq091fj5cxcr77znk20nclz851s";
};
buildInputs = [ cmake boost gmp mpfr libedit python texinfo gnused ];

@ -9945,8 +9945,9 @@ let
links = callPackage ../applications/networking/browsers/links { };
ledger = callPackage ../applications/office/ledger/2.6.3.nix { };
ledger3 = callPackage ../applications/office/ledger/3.0.nix { };
ledger2 = callPackage ../applications/office/ledger/2.6.3.nix { };
ledger3 = callPackage ../applications/office/ledger { };
ledger = ledger3;
lighttable = callPackage ../applications/editors/lighttable {};

Loading…
Cancel
Save