ledger3: Update to 3.1

This commit also adds pkgs.ledger2 and pkgs.ledger3 plus a default
attribute pkgs.ledger pointing at ledger3.
This commit is contained in:
Moritz Ulrich 2014-11-07 16:23:59 +01:00
parent a0696b4536
commit df995253e3
2 changed files with 10 additions and 7 deletions

View File

@ -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 ];

View File

@ -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 {};