2021-01-15 13:21:58 +00:00
|
|
|
{ lib, stdenv
|
2020-03-10 21:58:32 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2020-03-10 21:58:32 +00:00
|
|
|
, openssl
|
2024-02-18 11:17:23 +00:00
|
|
|
, unstableGitUpdater
|
2020-03-10 21:58:32 +00:00
|
|
|
}:
|
|
|
|
|
2024-04-02 14:03:12 +00:00
|
|
|
stdenv.mkDerivation {
|
2022-05-13 19:03:56 +00:00
|
|
|
pname = "btcdeb";
|
2024-04-13 16:04:33 +00:00
|
|
|
version = "0.3.20-unstable-2024-04-09";
|
2020-03-10 21:58:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-08-10 10:13:42 +00:00
|
|
|
owner = "bitcoin-core";
|
|
|
|
repo = "btcdeb";
|
2024-04-13 16:04:33 +00:00
|
|
|
rev = "e2c2e7b9fe2ecc0884129b53813a733f93a6e2c7";
|
|
|
|
hash = "sha256-heV5VByNZ/2doGVtYhGEei4fV4847UPVgOyU0PDDHc8=";
|
2020-03-10 21:58:32 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
2020-03-10 21:58:32 +00:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2024-02-18 11:17:23 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
passthru.updateScript = unstableGitUpdater {};
|
|
|
|
|
2023-01-21 22:06:40 +00:00
|
|
|
meta = with lib; {
|
2020-03-10 21:58:32 +00:00
|
|
|
description = "Bitcoin Script Debugger";
|
2022-05-13 19:03:56 +00:00
|
|
|
homepage = "https://github.com/bitcoin-core/btcdeb";
|
2020-03-10 21:58:32 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ akru ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|