2022-02-01 12:14:12 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pkg-config,
|
|
|
|
qmake,
|
|
|
|
python3,
|
|
|
|
qtbase,
|
2023-07-14 22:14:55 +00:00
|
|
|
rocksdb_7_10,
|
2022-02-01 12:14:12 +00:00
|
|
|
zeromq,
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fulcrum";
|
2024-09-13 14:03:53 +00:00
|
|
|
version = "1.11.1";
|
2022-02-01 12:14:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cculianu";
|
|
|
|
repo = "Fulcrum";
|
|
|
|
rev = "v${version}";
|
2024-09-13 14:03:53 +00:00
|
|
|
sha256 = "sha256-+hBc7jW1MVLVjYXNOV7QvFJJpZ5RzW5/c9NdqOXrsj0=";
|
2022-02-01 12:14:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
qmake
|
|
|
|
];
|
|
|
|
|
|
|
|
dontWrapQtApps = true; # no GUI
|
|
|
|
|
2023-07-14 22:14:55 +00:00
|
|
|
buildInputs = [
|
|
|
|
python3
|
|
|
|
qtbase
|
|
|
|
rocksdb_7_10
|
|
|
|
zeromq
|
|
|
|
];
|
2022-02-01 12:14:12 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|