2021-01-17 00:15:33 +00:00
|
|
|
{ lib, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, openssl
|
2024-02-29 20:09:43 +00:00
|
|
|
, unstableGitUpdater
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
stdenv.mkDerivation {
|
2022-05-18 14:49:53 +00:00
|
|
|
pname = "btcdeb";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.3.20-unstable-2024-04-09";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-08-20 17:08:02 +00:00
|
|
|
owner = "bitcoin-core";
|
|
|
|
repo = "btcdeb";
|
2024-05-15 15:35:15 +00:00
|
|
|
rev = "e2c2e7b9fe2ecc0884129b53813a733f93a6e2c7";
|
|
|
|
hash = "sha256-heV5VByNZ/2doGVtYhGEei4fV4847UPVgOyU0PDDHc8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
passthru.updateScript = unstableGitUpdater {};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Bitcoin Script Debugger";
|
2022-05-18 14:49:53 +00:00
|
|
|
homepage = "https://github.com/bitcoin-core/btcdeb";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ akru ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|