about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/blockchains/btcdeb/default.nix
blob: f4c00d00858ea5f8bd7307bc8912d933190f52f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, openssl
}:

stdenv.mkDerivation rec {
  pname = "btcdeb";
  version = "unstable-2022-04-03";

  src = fetchFromGitHub {
    owner = "bitcoin-core";
    repo = "btcdeb";
    rev = "3ba1ec7f4d37f7d2ff0544403465004c6e12036e";
    hash = "sha256-l/PGXXX288mnoSFZ32t2Xd13dC6JCU5wDHoDxb+fcp0=";
  };

  nativeBuildInputs = [ pkg-config autoreconfHook ];
  buildInputs = [ openssl ];

  meta = with lib; {
    description = "Bitcoin Script Debugger";
    homepage = "https://github.com/bitcoin-core/btcdeb";
    license = licenses.mit;
    maintainers = with maintainers; [ akru ];
    platforms = platforms.unix;
  };
}