ledger: fixed with older boost

This commit is contained in:
Peter Hoeg 2017-08-31 11:51:10 +08:00
parent b29c64c235
commit a2de9c334a

View File

@ -1,22 +1,21 @@
{ stdenv, fetchgit, cmake, boost, gmp, mpfr, libedit, python { stdenv, fetchFromGitHub, cmake, boost, gmp, mpfr, libedit, python
, texinfo, gnused }: , texinfo, gnused }:
let stdenv.mkDerivation rec {
version = "3.1.1";
in
stdenv.mkDerivation {
name = "ledger-${version}"; name = "ledger-${version}";
version = "3.1.1";
# NOTE: fetchgit because ledger has submodules not included in the src = fetchFromGitHub {
# default github tarball. owner = "ledger";
src = fetchgit { repo = "ledger";
url = "https://github.com/ledger/ledger.git"; rev = "v${version}";
rev = "refs/tags/v${version}";
sha256 = "1j4p7djkmdmd858hylrsc3inamh9z0vkfl98s9wiqfmrzw51pmxp"; sha256 = "1j4p7djkmdmd858hylrsc3inamh9z0vkfl98s9wiqfmrzw51pmxp";
fetchSubmodules = true;
}; };
buildInputs = [ cmake boost gmp mpfr libedit python texinfo gnused ]; buildInputs = [ boost gmp mpfr libedit python texinfo gnused ];
nativeBuildInputs = [ cmake ];
enableParallelBuilding = true; enableParallelBuilding = true;
@ -29,10 +28,10 @@ stdenv.mkDerivation {
cp -v "$src/lisp/"*.el $out/share/emacs/site-lisp/ cp -v "$src/lisp/"*.el $out/share/emacs/site-lisp/
''; '';
meta = { meta = with stdenv.lib; {
homepage = http://ledger-cli.org/; homepage = http://ledger-cli.org/;
description = "A double-entry accounting system with a command-line reporting interface"; description = "A double-entry accounting system with a command-line reporting interface";
license = stdenv.lib.licenses.bsd3; license = licenses.bsd3;
longDescription = '' longDescription = ''
Ledger is a powerful, double-entry accounting system that is accessed Ledger is a powerful, double-entry accounting system that is accessed
@ -41,8 +40,7 @@ stdenv.mkDerivation {
their data, there really is no alternative. their data, there really is no alternative.
''; '';
platforms = stdenv.lib.platforms.all; platforms = platforms.all;
maintainers = with stdenv.lib.maintainers; [ the-kenny jwiegley ]; maintainers = with maintainers; [ the-kenny jwiegley ];
broken = true;
}; };
} }