tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
libbitcoin-explorer: 2.2.0 -> 3.4.0
Lorenzo Manacorda
8 years ago
abc3e455
23ca8e12
+13
-11
1 changed file
expand all
collapse all
unified
split
pkgs
tools
misc
libbitcoin
libbitcoin-explorer.nix
+13
-11
pkgs/tools/misc/libbitcoin/libbitcoin-explorer.nix
···
1
1
-
{ stdenv, lib, fetchurl, pkgconfig, autoreconfHook
2
2
-
, boost, libbitcoin-client }:
1
1
+
{ stdenv, lib, fetchFromGitHub, pkgconfig, autoreconfHook
2
2
+
, boost, libbitcoin-client, libbitcoin-network }:
3
3
4
4
let
5
5
pname = "libbitcoin-explorer";
6
6
-
version = "2.2.0";
6
6
+
version = "3.4.0";
7
7
8
8
in stdenv.mkDerivation {
9
9
name = "${pname}-${version}";
10
10
11
11
-
src = fetchurl {
12
12
-
url = "https://github.com/libbitcoin/libbitcoin-explorer/archive/v${version}.tar.gz";
13
13
-
sha256 = "00123vw7rxk0ypdfzk0xwk8q55ll31000mkjqdzl915krsbkbfvp";
11
11
+
src = fetchFromGitHub {
12
12
+
owner = "libbitcoin";
13
13
+
repo = pname;
14
14
+
rev = "v${version}";
15
15
+
sha256 = "0rxiimklzqyp9vswznz9aia71dn6jxm2pxx5ljlhzs5rs583cj00";
14
16
};
15
17
16
18
nativeBuildInputs = [ autoreconfHook pkgconfig ];
17
17
-
buildInputs = [ ];
19
19
+
buildInputs = [ libbitcoin-client libbitcoin-network ];
18
20
19
19
-
propagatedBuildInputs = [ libbitcoin-client ];
21
21
+
enableParallelBuilding = true;
20
22
21
23
configureFlags = [
24
24
+
"--with-tests=no"
22
25
"--with-boost=${boost.dev}"
23
26
"--with-boost-libdir=${boost.out}/lib"
24
27
"--with-bash-completiondir=$out/share/bash-completion/completions"
···
28
31
description = "Bitcoin command line tool";
29
32
homepage = https://github.com/libbitcoin/libbitcoin-explorer;
30
33
platforms = platforms.linux ++ platforms.darwin;
31
31
-
maintainers = with maintainers; [ chris-martin ];
34
34
+
maintainers = with maintainers; [ chris-martin asymmetric ];
32
35
33
33
-
# https://wiki.unsystem.net/en/index.php/Libbitcoin/License
34
34
-
# AGPL with an additional clause
36
36
+
# AGPL with a lesser clause
35
37
license = licenses.agpl3;
36
38
};
37
39
}