1 { lib, stdenv, fetchFromGitHub, fetchpatch2, openssl, boost, libevent, autoreconfHook, db4, miniupnpc, eject, pkg-config, hexdump }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
9 repo = "namecoin-core";
11 sha256 = "sha256-2KMK5Vb8osuaKbzI1aaPSYg+te+v9CEcGUkrVI6Fk54=";
15 # upnp: add compatibility for miniupnpc 2.2.8
17 url = "https://github.com/namecoin/namecoin-core/commit/8acdf66540834b9f9cf28f16d389e8b6a48516d5.patch?full_index=1";
18 hash = "sha256-oDvHUvwAEp0LJCf6QBESn38Bu359TcPpLhvuLX3sm6M=";
37 enableParallelBuilding = true;
40 "--with-boost-libdir=${boost.out}/lib"
44 description = "Decentralized open source information registration and transfer system based on the Bitcoin cryptocurrency";
45 homepage = "https://namecoin.org";
46 license = licenses.mit;
48 platforms = platforms.linux;