Merge pull request #911 from the-kenny/ledger3

Ledger 3: Update to latest git & fixes
This commit is contained in:
Peter Simons 2013-09-04 02:08:36 -07:00
commit e55c0bcaaa

View File

@ -1,25 +1,29 @@
{ stdenv, fetchgit, cmake, boost, gmp, mpfr, libedit, python, texinfo }: { stdenv, fetchgit, cmake, boost, gmp, mpfr, libedit, python, texinfo }:
let let
rev = "26d7197"; rev = "0ec4291";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "ledger3-2013.06.${rev}"; name = "ledger3-2013.08.${rev}";
src = fetchgit { src = fetchgit {
url = "https://github.com/ledger/ledger.git"; url = "https://github.com/ledger/ledger.git";
inherit rev; inherit rev;
sha256 = "02nf4kdrd61q9rf5rrarwmx47y2ya5qix7n82cj9qi9p4v3k3m2g"; sha256 = "1y4rcbx8y2fxkdc7i06n1i5jf3cq05bvzpb8498mis2gwfmkw470";
}; };
buildInputs = [ cmake boost gmp mpfr libedit python texinfo ]; buildInputs = [ cmake boost gmp mpfr libedit python texinfo ];
# Unit tests fail in the current git snapshot. Try enabling them again doCheck = true;
# when updating this package!
doCheck = false;
enableParallelBuilding = true; enableParallelBuilding = true;
# Skip byte-compiling of emacs-lisp files because this is currently
# broken in ledger...
postInstall = ''
mkdir -p $out/share/emacs/site-lisp/
cp -v $src/lisp/*.el $out/share/emacs/site-lisp/
'';
meta = { meta = {
homepage = "http://ledger-cli.org/"; homepage = "http://ledger-cli.org/";
description = "A double-entry accounting system with a command-line reporting interface"; description = "A double-entry accounting system with a command-line reporting interface";