ledger: fixed with older boost

+15 -17
+15 -17
pkgs/applications/office/ledger/default.nix
··· 1 - { stdenv, fetchgit, cmake, boost, gmp, mpfr, libedit, python 2 , texinfo, gnused }: 3 4 - let 5 - version = "3.1.1"; 6 - in 7 - 8 - stdenv.mkDerivation { 9 name = "ledger-${version}"; 10 11 - # NOTE: fetchgit because ledger has submodules not included in the 12 - # default github tarball. 13 - src = fetchgit { 14 - url = "https://github.com/ledger/ledger.git"; 15 - rev = "refs/tags/v${version}"; 16 sha256 = "1j4p7djkmdmd858hylrsc3inamh9z0vkfl98s9wiqfmrzw51pmxp"; 17 }; 18 19 - buildInputs = [ cmake boost gmp mpfr libedit python texinfo gnused ]; 20 21 enableParallelBuilding = true; 22 ··· 29 cp -v "$src/lisp/"*.el $out/share/emacs/site-lisp/ 30 ''; 31 32 - meta = { 33 homepage = http://ledger-cli.org/; 34 description = "A double-entry accounting system with a command-line reporting interface"; 35 - license = stdenv.lib.licenses.bsd3; 36 37 longDescription = '' 38 Ledger is a powerful, double-entry accounting system that is accessed ··· 41 their data, there really is no alternative. 42 ''; 43 44 - platforms = stdenv.lib.platforms.all; 45 - maintainers = with stdenv.lib.maintainers; [ the-kenny jwiegley ]; 46 - broken = true; 47 }; 48 }
··· 1 + { stdenv, fetchFromGitHub, cmake, boost, gmp, mpfr, libedit, python 2 , texinfo, gnused }: 3 4 + stdenv.mkDerivation rec { 5 name = "ledger-${version}"; 6 + version = "3.1.1"; 7 8 + src = fetchFromGitHub { 9 + owner = "ledger"; 10 + repo = "ledger"; 11 + rev = "v${version}"; 12 sha256 = "1j4p7djkmdmd858hylrsc3inamh9z0vkfl98s9wiqfmrzw51pmxp"; 13 + fetchSubmodules = true; 14 }; 15 16 + buildInputs = [ boost gmp mpfr libedit python texinfo gnused ]; 17 + 18 + nativeBuildInputs = [ cmake ]; 19 20 enableParallelBuilding = true; 21 ··· 28 cp -v "$src/lisp/"*.el $out/share/emacs/site-lisp/ 29 ''; 30 31 + meta = with stdenv.lib; { 32 homepage = http://ledger-cli.org/; 33 description = "A double-entry accounting system with a command-line reporting interface"; 34 + license = licenses.bsd3; 35 36 longDescription = '' 37 Ledger is a powerful, double-entry accounting system that is accessed ··· 40 their data, there really is no alternative. 41 ''; 42 43 + platforms = platforms.all; 44 + maintainers = with maintainers; [ the-kenny jwiegley ]; 45 }; 46 }