nixpkgs/pkgs/applications/blockchains/namecoin/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
937 B
Nix
Raw Normal View History

2022-05-26 00:05:56 +00:00
{ lib, stdenv, fetchFromGitHub, openssl, boost, libevent, autoreconfHook, db4, miniupnpc, eject, pkg-config, hexdump }:
stdenv.mkDerivation rec {
2022-05-26 00:05:56 +00:00
pname = "namecoind";
2023-07-03 06:27:38 +00:00
version = "25.0";
src = fetchFromGitHub {
owner = "namecoin";
repo = "namecoin-core";
rev = "nc${version}";
2023-07-03 06:27:38 +00:00
sha256 = "sha256-2KMK5Vb8osuaKbzI1aaPSYg+te+v9CEcGUkrVI6Fk54=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
2018-08-10 12:57:43 +00:00
hexdump
];
buildInputs = [
openssl
boost
libevent
db4
miniupnpc
eject
];
2018-08-10 12:57:43 +00:00
enableParallelBuilding = true;
configureFlags = [
"--with-boost-libdir=${boost.out}/lib"
];
meta = with lib; {
description = "Decentralized open source information registration and transfer system based on the Bitcoin cryptocurrency";
homepage = "https://namecoin.org";
license = licenses.mit;
maintainers = with maintainers; [ ];
platforms = platforms.linux;
};
}