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
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-05-18 14:49:53 +00:00
|
|
|
pname = "btcdeb";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "0.3.20-unstable-2024-02-06";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-08-20 17:08:02 +00:00
|
|
|
owner = "bitcoin-core";
|
|
|
|
repo = "btcdeb";
|
2024-02-29 20:09:43 +00:00
|
|
|
rev = "b9288fc3371eb1d9be0cae2549be25de66659be8";
|
|
|
|
hash = "sha256-IieLNMA3m6g2Kn7g3iewmUL9c+meMR4hrrwVYqNZoh8=";
|
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;
|
|
|
|
};
|
|
|
|
}
|