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
|
|
|
|
}:
|
|
|
|
|
2021-01-15 13:21:58 +00:00
|
|
|
with lib;
|
2020-03-10 21:58:32 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-08-10 11:13:42 +01:00
|
|
|
pname = "btcdeb-unstable";
|
|
|
|
version = "200806";
|
2020-03-10 21:58:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-08-10 11:13:42 +01:00
|
|
|
owner = "bitcoin-core";
|
|
|
|
repo = "btcdeb";
|
|
|
|
rev = "f6708c397c64894c9f9e31bea2d22285d9462de7";
|
|
|
|
sha256 = "0qkmf89z2n7s95vhw3n9vh9dbi14zy4vqw3ffdh1w911jwm5ry3z";
|
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 ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Bitcoin Script Debugger";
|
|
|
|
homepage = "https://github.com/kallewoof/btcdeb";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ akru ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|