mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #911 from the-kenny/ledger3
Ledger 3: Update to latest git & fixes
This commit is contained in:
commit
e55c0bcaaa
1 changed files with 11 additions and 7 deletions
|
@ -1,25 +1,29 @@
|
|||
{ stdenv, fetchgit, cmake, boost, gmp, mpfr, libedit, python, texinfo }:
|
||||
|
||||
let
|
||||
rev = "26d7197";
|
||||
rev = "0ec4291";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "ledger3-2013.06.${rev}";
|
||||
name = "ledger3-2013.08.${rev}";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/ledger/ledger.git";
|
||||
inherit rev;
|
||||
sha256 = "02nf4kdrd61q9rf5rrarwmx47y2ya5qix7n82cj9qi9p4v3k3m2g";
|
||||
sha256 = "1y4rcbx8y2fxkdc7i06n1i5jf3cq05bvzpb8498mis2gwfmkw470";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake boost gmp mpfr libedit python texinfo ];
|
||||
|
||||
# Unit tests fail in the current git snapshot. Try enabling them again
|
||||
# when updating this package!
|
||||
doCheck = false;
|
||||
|
||||
doCheck = 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 = {
|
||||
homepage = "http://ledger-cli.org/";
|
||||
description = "A double-entry accounting system with a command-line reporting interface";
|
||||
|
|
Loading…
Reference in a new issue