tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ledger: fixed with older boost
Peter Hoeg
8 years ago
a2de9c33
b29c64c2
+15
-17
1 changed file
expand all
collapse all
unified
split
pkgs
applications
office
ledger
default.nix
+15
-17
pkgs/applications/office/ledger/default.nix
···
1
1
-
{ stdenv, fetchgit, cmake, boost, gmp, mpfr, libedit, python
1
1
+
{ stdenv, fetchFromGitHub, cmake, boost, gmp, mpfr, libedit, python
2
2
, texinfo, gnused }:
3
3
4
4
-
let
5
5
-
version = "3.1.1";
6
6
-
in
7
7
-
8
8
-
stdenv.mkDerivation {
4
4
+
stdenv.mkDerivation rec {
9
5
name = "ledger-${version}";
6
6
+
version = "3.1.1";
10
7
11
11
-
# NOTE: fetchgit because ledger has submodules not included in the
12
12
-
# default github tarball.
13
13
-
src = fetchgit {
14
14
-
url = "https://github.com/ledger/ledger.git";
15
15
-
rev = "refs/tags/v${version}";
8
8
+
src = fetchFromGitHub {
9
9
+
owner = "ledger";
10
10
+
repo = "ledger";
11
11
+
rev = "v${version}";
16
12
sha256 = "1j4p7djkmdmd858hylrsc3inamh9z0vkfl98s9wiqfmrzw51pmxp";
13
13
+
fetchSubmodules = true;
17
14
};
18
15
19
19
-
buildInputs = [ cmake boost gmp mpfr libedit python texinfo gnused ];
16
16
+
buildInputs = [ boost gmp mpfr libedit python texinfo gnused ];
17
17
+
18
18
+
nativeBuildInputs = [ cmake ];
20
19
21
20
enableParallelBuilding = true;
22
21
···
29
28
cp -v "$src/lisp/"*.el $out/share/emacs/site-lisp/
30
29
'';
31
30
32
32
-
meta = {
31
31
+
meta = with stdenv.lib; {
33
32
homepage = http://ledger-cli.org/;
34
33
description = "A double-entry accounting system with a command-line reporting interface";
35
35
-
license = stdenv.lib.licenses.bsd3;
34
34
+
license = licenses.bsd3;
36
35
37
36
longDescription = ''
38
37
Ledger is a powerful, double-entry accounting system that is accessed
···
41
40
their data, there really is no alternative.
42
41
'';
43
42
44
44
-
platforms = stdenv.lib.platforms.all;
45
45
-
maintainers = with stdenv.lib.maintainers; [ the-kenny jwiegley ];
46
46
-
broken = true;
43
43
+
platforms = platforms.all;
44
44
+
maintainers = with maintainers; [ the-kenny jwiegley ];
47
45
};
48
46
}