tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
blockchains: format, cleanup
Sandro Jäckel
4 years ago
abce989b
9f6f2ea7
+35
-15
1 changed file
expand all
collapse all
unified
split
pkgs
applications
blockchains
bitcoin-classic.nix
+35
-15
pkgs/applications/blockchains/bitcoin-classic.nix
···
1
-
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook, openssl, db48, boost
2
-
, zlib, miniupnpc, qtbase ? null, qttools ? null, util-linux, protobuf, qrencode, libevent
3
-
, withGui }:
4
-
5
-
with lib;
0
0
0
0
0
0
0
0
0
0
0
0
0
6
7
stdenv.mkDerivation rec {
8
-
9
-
name = "bitcoin" + (toString (optional (!withGui) "d")) + "-classic-" + version;
10
version = "1.3.8uahf";
11
12
src = fetchFromGitHub {
···
17
};
18
19
nativeBuildInputs = [ pkg-config autoreconfHook ];
20
-
buildInputs = [ openssl db48 boost zlib
21
-
miniupnpc util-linux protobuf libevent ]
22
-
++ optionals withGui [ qtbase qttools qrencode ];
0
0
0
0
0
0
0
23
24
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
25
-
++ optionals withGui [ "--with-gui=qt5"
26
-
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
27
-
];
0
28
29
enableParallelBuilding = true;
30
31
dontWrapQtApps = true;
32
33
-
meta = {
34
description = "Peer-to-peer electronic cash system (Classic client)";
35
-
longDescription= ''
36
Bitcoin is a free open source peer-to-peer electronic cash system that is
37
completely decentralized, without the need for a central server or trusted
38
parties. Users hold the crypto keys to their own money and transact directly
···
1
+
{ lib
2
+
, stdenv
3
+
, fetchFromGitHub
4
+
, pkg-config
5
+
, autoreconfHook
6
+
, openssl
7
+
, db48
8
+
, boost
9
+
, zlib
10
+
, miniupnpc
11
+
, qtbase ? null
12
+
, qttools ? null
13
+
, util-linux
14
+
, protobuf
15
+
, qrencode
16
+
, libevent
17
+
, withGui
18
+
}:
19
20
stdenv.mkDerivation rec {
21
+
pname = "bitcoin" + lib.optionalString (!withGui) "d" + "-classic";
0
22
version = "1.3.8uahf";
23
24
src = fetchFromGitHub {
···
29
};
30
31
nativeBuildInputs = [ pkg-config autoreconfHook ];
32
+
buildInputs = [
33
+
openssl
34
+
db48
35
+
boost
36
+
zlib
37
+
miniupnpc
38
+
util-linux
39
+
protobuf
40
+
libevent
41
+
] ++ lib.optionals withGui [ qtbase qttools qrencode ];
42
43
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
44
+
++ lib.optionals withGui [
45
+
"--with-gui=qt5"
46
+
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
47
+
];
48
49
enableParallelBuilding = true;
50
51
dontWrapQtApps = true;
52
53
+
meta = with lib; {
54
description = "Peer-to-peer electronic cash system (Classic client)";
55
+
longDescription = ''
56
Bitcoin is a free open source peer-to-peer electronic cash system that is
57
completely decentralized, without the need for a central server or trusted
58
parties. Users hold the crypto keys to their own money and transact directly