ledger3: updated to current HEAD

svn path=/nixpkgs/trunk/; revision=31782
This commit is contained in:
Peter Simons 2012-01-21 19:25:50 +00:00
parent 83fef2d3fa
commit 7f062680e4
1 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,7 @@
, pcre, expat, boost, mpfr, git, texinfo }: , pcre, expat, boost, mpfr, git, texinfo }:
let let
rev = "cf35984971341b8a8688"; rev = "d2915c66";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "ledger3-2012.01.${rev}"; name = "ledger3-2012.01.${rev}";
@ -10,7 +10,7 @@ stdenv.mkDerivation {
src = fetchgit { src = fetchgit {
url = "git://github.com/jwiegley/ledger.git"; url = "git://github.com/jwiegley/ledger.git";
inherit rev; inherit rev;
sha256 = "4078983db9fc8d232fa71a31b47e505c531971b4515d6ef723e7d333a2352d2a"; sha256 = "a489c8b1c48889040d2cebaac1a0019e90acac0b51c9abf7914944dcb4b801e7";
}; };
buildInputs = [ buildInputs = [
@ -24,7 +24,8 @@ stdenv.mkDerivation {
buildPhase = '' buildPhase = ''
sed -i acprep \ sed -i acprep \
-e 's|search_prefixes = .*|search_prefixes = ["${boost}"]|' -e 's|search_prefixes = .*|search_prefixes = ["${boost}"]|' \
-e 's|/usr/bin/python|${python}/bin/python|'
export MAKEFLAGS="-j$NIX_BUILD_CORES -l$NIX_BUILD_CORES" export MAKEFLAGS="-j$NIX_BUILD_CORES -l$NIX_BUILD_CORES"
python acprep update --no-pch --prefix=$out python acprep update --no-pch --prefix=$out
''; '';