2022-02-10 20:34:41 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, qmake
|
|
|
|
, python3
|
|
|
|
, qtbase
|
|
|
|
, rocksdb
|
|
|
|
, zeromq
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fulcrum";
|
2022-09-22 12:36:57 +00:00
|
|
|
version = "1.8.1";
|
2022-02-10 20:34:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cculianu";
|
|
|
|
repo = "Fulcrum";
|
|
|
|
rev = "v${version}";
|
2022-09-22 12:36:57 +00:00
|
|
|
sha256 = "sha256-GaXXqIHuMTGn8iLymAhL8i0HzXmaO6RxtvIzgWw6QI0=";
|
2022-02-10 20:34:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config qmake ];
|
|
|
|
|
|
|
|
dontWrapQtApps = true; # no GUI
|
|
|
|
|
|
|
|
buildInputs = [ python3 qtbase rocksdb 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;
|
|
|
|
};
|
|
|
|
}
|