ledger: fixed with older boost

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