about summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2013-09-04 02:08:36 -0700
committerPeter Simons <simons@cryp.to>2013-09-04 02:08:36 -0700
commite55c0bcaaa80cb0588563acc9c793a2d723e8eb7 (patch)
tree86725fece2a2f753e24cfcade9f15d5409e0e66b /pkgs/applications/office
parent117b0034c207ca3b551452c2eb24bbe737780bc6 (diff)
parentb77be3f3fe561ca2b102750ee44bf94c279f4434 (diff)
downloadnixlib-e55c0bcaaa80cb0588563acc9c793a2d723e8eb7.tar
nixlib-e55c0bcaaa80cb0588563acc9c793a2d723e8eb7.tar.gz
nixlib-e55c0bcaaa80cb0588563acc9c793a2d723e8eb7.tar.bz2
nixlib-e55c0bcaaa80cb0588563acc9c793a2d723e8eb7.tar.lz
nixlib-e55c0bcaaa80cb0588563acc9c793a2d723e8eb7.tar.xz
nixlib-e55c0bcaaa80cb0588563acc9c793a2d723e8eb7.tar.zst
nixlib-e55c0bcaaa80cb0588563acc9c793a2d723e8eb7.zip
Merge pull request #911 from the-kenny/ledger3
Ledger 3: Update to latest git & fixes
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/ledger/3.0.nix18
1 files changed, 11 insertions, 7 deletions
diff --git a/pkgs/applications/office/ledger/3.0.nix b/pkgs/applications/office/ledger/3.0.nix
index b51fd6fe41e2..6a49ede08577 100644
--- a/pkgs/applications/office/ledger/3.0.nix
+++ b/pkgs/applications/office/ledger/3.0.nix
@@ -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";