Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / blockchains / btcdeb / default.nix
blobf4c00d00858ea5f8bd7307bc8912d933190f52f6
1 { lib, stdenv
2 , fetchFromGitHub
3 , autoreconfHook
4 , pkg-config
5 , openssl
6 }:
8 stdenv.mkDerivation rec {
9   pname = "btcdeb";
10   version = "unstable-2022-04-03";
12   src = fetchFromGitHub {
13     owner = "bitcoin-core";
14     repo = "btcdeb";
15     rev = "3ba1ec7f4d37f7d2ff0544403465004c6e12036e";
16     hash = "sha256-l/PGXXX288mnoSFZ32t2Xd13dC6JCU5wDHoDxb+fcp0=";
17   };
19   nativeBuildInputs = [ pkg-config autoreconfHook ];
20   buildInputs = [ openssl ];
22   meta = with lib; {
23     description = "Bitcoin Script Debugger";
24     homepage = "https://github.com/bitcoin-core/btcdeb";
25     license = licenses.mit;
26     maintainers = with maintainers; [ akru ];
27     platforms = platforms.unix;
28   };