depot/third_party/nixpkgs/pkgs/applications/blockchains/fulcrum/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

36 lines
752 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, qmake
, python3
, qtbase
, rocksdb_7_10
, zeromq
}:
stdenv.mkDerivation rec {
pname = "fulcrum";
version = "1.11.0";
src = fetchFromGitHub {
owner = "cculianu";
repo = "Fulcrum";
rev = "v${version}";
sha256 = "sha256-VY6yUdmU8MLwSH3VeAWCGbdouOxGrhDc1usYj70jrd8=";
};
nativeBuildInputs = [ pkg-config qmake ];
dontWrapQtApps = true; # no GUI
buildInputs = [ python3 qtbase rocksdb_7_10 zeromq ];
meta = with lib; {
description = "Fast & nimble SPV server for Bitcoin Cash & Bitcoin BTC";
homepage = "https://github.com/cculianu/Fulcrum";
maintainers = with maintainers; [ prusnak ];
license = licenses.gpl3Plus;
platforms = platforms.unix;
};
}