5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
34 lines
786 B
Nix
34 lines
786 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, pkg-config
|
|
, openssl
|
|
, unstableGitUpdater
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "btcdeb";
|
|
version = "0.3.20-unstable-2024-04-09";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bitcoin-core";
|
|
repo = "btcdeb";
|
|
rev = "e2c2e7b9fe2ecc0884129b53813a733f93a6e2c7";
|
|
hash = "sha256-heV5VByNZ/2doGVtYhGEei4fV4847UPVgOyU0PDDHc8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
|
buildInputs = [ openssl ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
passthru.updateScript = unstableGitUpdater {};
|
|
|
|
meta = with lib; {
|
|
description = "Bitcoin Script Debugger";
|
|
homepage = "https://github.com/bitcoin-core/btcdeb";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ akru ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|