summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorMoritz Ulrich <moritz@tarn-vedra.de>2014-11-07 16:23:59 +0100
committerMoritz Ulrich <moritz@tarn-vedra.de>2014-11-07 16:29:15 +0100
commitdf995253e3271caede033a49b14cb302a6d57fcd (patch)
tree02b2e0bbe3fbdbbfe8d3424454b0da1c8a9a3037 /pkgs/applications/office
parenta0696b4536ebba6d221d2daeca07c3a59cbc40da (diff)
downloadnixlib-df995253e3271caede033a49b14cb302a6d57fcd.tar
nixlib-df995253e3271caede033a49b14cb302a6d57fcd.tar.gz
nixlib-df995253e3271caede033a49b14cb302a6d57fcd.tar.bz2
nixlib-df995253e3271caede033a49b14cb302a6d57fcd.tar.lz
nixlib-df995253e3271caede033a49b14cb302a6d57fcd.tar.xz
nixlib-df995253e3271caede033a49b14cb302a6d57fcd.tar.zst
nixlib-df995253e3271caede033a49b14cb302a6d57fcd.zip
ledger3: Update to 3.1
This commit also adds pkgs.ledger2 and pkgs.ledger3 plus a default
attribute pkgs.ledger pointing at ledger3.
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/ledger/default.nix (renamed from pkgs/applications/office/ledger/3.0.nix)12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/applications/office/ledger/3.0.nix b/pkgs/applications/office/ledger/default.nix
index 6118d377a79f..34aa7c769d01 100644
--- a/pkgs/applications/office/ledger/3.0.nix
+++ b/pkgs/applications/office/ledger/default.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 ];