b41113241d
GitOrigin-RevId: ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90
36 lines
741 B
Nix
36 lines
741 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, qmake
|
|
, python3
|
|
, qtbase
|
|
, rocksdb
|
|
, zeromq
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fulcrum";
|
|
version = "1.8.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cculianu";
|
|
repo = "Fulcrum";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-GaXXqIHuMTGn8iLymAhL8i0HzXmaO6RxtvIzgWw6QI0=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|