mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
37 lines
741 B
Nix
37 lines
741 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, qmake
|
|
, python3
|
|
, qtbase
|
|
, rocksdb
|
|
, zeromq
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "fulcrum";
|
|
version = "1.8.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cculianu";
|
|
repo = "Fulcrum";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-sX9GeY+c/mcsAWApQ0E5LwoXZgWUC4w7YY8/PEzMhl8=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|