diff --git a/pkgs/applications/blockchains/fulcrum/default.nix b/pkgs/applications/blockchains/fulcrum/default.nix index b52c720267e5..5118f7880721 100644 --- a/pkgs/applications/blockchains/fulcrum/default.nix +++ b/pkgs/applications/blockchains/fulcrum/default.nix @@ -8,17 +8,18 @@ qtbase, rocksdb_7_10, zeromq, + nix-update-script, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "fulcrum"; - version = "1.11.1"; + version = "1.12.0.1"; src = fetchFromGitHub { owner = "cculianu"; repo = "Fulcrum"; - rev = "v${version}"; - sha256 = "sha256-+hBc7jW1MVLVjYXNOV7QvFJJpZ5RzW5/c9NdqOXrsj0="; + tag = "v${finalAttrs.version}"; + hash = "sha256-/RlvbZ6/f0Jxj6oCeHjGWqlktvtNUNczOXi2/wYw2LQ="; }; nativeBuildInputs = [ @@ -26,8 +27,6 @@ stdenv.mkDerivation rec { qmake ]; - dontWrapQtApps = true; # no GUI - buildInputs = [ python3 qtbase @@ -35,11 +34,15 @@ stdenv.mkDerivation rec { zeromq ]; - meta = with lib; { + dontWrapQtApps = true; # no GUI + + passthru.updateScript = nix-update-script { }; + + meta = { 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; + maintainers = with lib.maintainers; [ prusnak ]; + license = lib.licenses.gpl3Plus; + platforms = lib.platforms.unix; }; -} +})