git.iko.soy/typeable/nixpkgs
on master help sign in
ledger: fixed with older boost
commita2de9c334a5901f57ae41aa134d9fbd83b802fb8 authorPeter Hoeg <peter@hoeg.com> dateThu 31 Aug 2017, 11:51 (9 years ago) parentb29c64c
1 file changed+15−17
pkgs/applications/office/ledger/default.nix+15−17
pkgs/applications/office/ledger/default.nix+15−17
@@ -1,22 +1,21 @@
1−{ stdenv, fetchgit, cmake, boost, gmp, mpfr, libedit, python
1+{ stdenv, fetchFromGitHub, cmake, boost, gmp, mpfr, libedit, python
22, texinfo, gnused }:
33
4−let
5− version = "3.1.1";
6−in
7−
8−stdenv.mkDerivation {
4+stdenv.mkDerivation rec {
95 name = "ledger-${version}";
6+ version = "3.1.1";
107
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}";
1612 sha256 = "1j4p7djkmdmd858hylrsc3inamh9z0vkfl98s9wiqfmrzw51pmxp";
13+ fetchSubmodules = true;
1714 };
1815
19− buildInputs = [ cmake boost gmp mpfr libedit python texinfo gnused ];
16+ buildInputs = [ boost gmp mpfr libedit python texinfo gnused ];
17+
18+ nativeBuildInputs = [ cmake ];
2019
2120 enableParallelBuilding = true;
2221
@@ -29,10 +28,10 @@ stdenv.mkDerivation {
2928 cp -v "$src/lisp/"*.el $out/share/emacs/site-lisp/
3029 '';
3130
32− meta = {
31+ meta = with stdenv.lib; {
3332 homepage = http://ledger-cli.org/;
3433 description = "A double-entry accounting system with a command-line reporting interface";
35− license = stdenv.lib.licenses.bsd3;
34+ license = licenses.bsd3;
3635
3736 longDescription = ''
3837 Ledger is a powerful, double-entry accounting system that is accessed
@@ -41,8 +40,7 @@ stdenv.mkDerivation {
4140 their data, there really is no alternative.
4241 '';
4342
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 ];
4745 };
4846}