diff options
Diffstat (limited to 'pkgs/applications/blockchains/fulcrum/default.nix')
-rw-r--r-- | pkgs/applications/blockchains/fulcrum/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/fulcrum/default.nix b/pkgs/applications/blockchains/fulcrum/default.nix new file mode 100644 index 0000000000000..35b5f05b38367 --- /dev/null +++ b/pkgs/applications/blockchains/fulcrum/default.nix @@ -0,0 +1,36 @@ +{ lib +, stdenv +, fetchFromGitHub +, pkg-config +, qmake +, python3 +, qtbase +, rocksdb +, zeromq +}: + +stdenv.mkDerivation rec { + pname = "fulcrum"; + version = "1.6.0"; + + src = fetchFromGitHub { + owner = "cculianu"; + repo = "Fulcrum"; + rev = "v${version}"; + sha256 = "sha256-oywxGg+Ss7qBITI2PBXQs5ph7PZbJ3c1smtT/TcVoLI="; + }; + + 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; + }; +} |