diff options
author | John Wiegley <johnw@newartisans.com> | 2014-04-17 14:19:55 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2014-04-17 14:34:36 -0500 |
commit | 7be70aab59051aa358547a3e530cc95490c04232 (patch) | |
tree | a8127b99acc041d746d417528e4c6dcce00c5c5a /default.nix | |
parent | 0ef825640963d60e4733553ff0e8c590c0ce2c3b (diff) | |
download | fork-ledger-7be70aab59051aa358547a3e530cc95490c04232.tar.gz fork-ledger-7be70aab59051aa358547a3e530cc95490c04232.tar.bz2 fork-ledger-7be70aab59051aa358547a3e530cc95490c04232.zip |
Require the use of C++11
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/default.nix b/default.nix index 7a822bbe..f1745ce4 100644 --- a/default.nix +++ b/default.nix @@ -1,17 +1,26 @@ -{ stdenv, fetchgit, cmake, ninja, boost, gmp, mpfr, libedit, python, texinfo }: +{ stdenv, fetchgit, cmake, boost, gmp, mpfr, libedit, python +, texinfo, gnused }: + +let + rev = "20140417"; +in stdenv.mkDerivation { - name = "ledger-3.0.2"; - version = "3.0.2"; + name = "ledger-3.0.2.${rev}"; src = ./.; - buildInputs = [ cmake ninja boost gmp mpfr libedit python texinfo ]; + buildInputs = [ cmake boost gmp mpfr libedit python texinfo gnused ]; - # Tests on Darwin are failing - doCheck = !stdenv.isDarwin; enableParallelBuilding = true; + # Skip byte-compiling of emacs-lisp files because this is currently + # broken in ledger... + postInstall = '' + mkdir -p $out/share/emacs/site-lisp/ + cp -v $src/lisp/*.el $out/share/emacs/site-lisp/ + ''; + meta = { homepage = "http://ledger-cli.org/"; description = "A double-entry accounting system with a command-line reporting interface"; @@ -25,6 +34,6 @@ stdenv.mkDerivation { ''; platforms = stdenv.lib.platforms.all; - maintainers = with stdenv.lib.maintainers; [ simons the-kenny ]; + maintainers = with stdenv.lib.maintainers; [ simons the-kenny jwiegley ]; }; } |