mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
ledger3: updated to current HEAD
svn path=/nixpkgs/trunk/; revision=31782
This commit is contained in:
parent
83fef2d3fa
commit
7f062680e4
|
@ -2,7 +2,7 @@
|
|||
, pcre, expat, boost, mpfr, git, texinfo }:
|
||||
|
||||
let
|
||||
rev = "cf35984971341b8a8688";
|
||||
rev = "d2915c66";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "ledger3-2012.01.${rev}";
|
||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
|||
src = fetchgit {
|
||||
url = "git://github.com/jwiegley/ledger.git";
|
||||
inherit rev;
|
||||
sha256 = "4078983db9fc8d232fa71a31b47e505c531971b4515d6ef723e7d333a2352d2a";
|
||||
sha256 = "a489c8b1c48889040d2cebaac1a0019e90acac0b51c9abf7914944dcb4b801e7";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -24,7 +24,8 @@ stdenv.mkDerivation {
|
|||
|
||||
buildPhase = ''
|
||||
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"
|
||||
python acprep update --no-pch --prefix=$out
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue