Unverified Commit b459ffd3 authored by David McFarland's avatar David McFarland Committed by GitHub
Browse files

wasabibackend: 2.0.2.1 -> 2.3.1 (#361232)

parents 52cd263b ea36b472
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -33,9 +33,5 @@
    machine.wait_until_succeeds(
        "grep 'Wasabi Backend started' /var/lib/wasabibackend/.walletwasabi/backend/Logs.txt"
    )
    machine.sleep(5)
    machine.succeed(
        "grep 'Config is successfully initialized' /var/lib/wasabibackend/.walletwasabi/backend/Logs.txt"
    )
  '';
}
+360 −250

File changed.

Preview size limit exceeded, changes collapsed.

+23 −16
Original line number Diff line number Diff line
@@ -6,24 +6,25 @@
  dotnetCorePackages,
  zlib,
  openssl,
  nix-update-script,
  nixosTests,
}:
buildDotnetModule rec {
  pname = "wasabibackend";
  version = "2.0.2.1";
  version = "2.3.1";

  src = fetchFromGitHub {
    owner = "zkSNACKs";
    owner = "WalletWasabi";
    repo = "WalletWasabi";
    tag = "v${version}";
    hash = "sha512-JuCl3SyejzwUd2n8Fy7EdxUuO4bIcGb8yMWZQOhZzsY4fvg9prFOnVZEquxahD0a41MLKHRNA1R2N3NMapcc0A==";
    hash = "sha256-vOvNumR/0agf9Mof0UD3KjJVgN18y6R/OrgLOXwL3K8=";
  };

  projectFile = "WalletWasabi.Backend/WalletWasabi.Backend.csproj";
  nugetDeps = ./deps.json;

  dotnet-sdk = dotnetCorePackages.sdk_7_0-bin;
  dotnet-runtime = dotnetCorePackages.aspnetcore_7_0-bin;
  dotnet-sdk = dotnetCorePackages.sdk_8_0;
  dotnet-runtime = dotnetCorePackages.aspnetcore_8_0;

  buildInputs = [
    (lib.getLib stdenv.cc.cc)
@@ -35,26 +36,32 @@ buildDotnetModule rec {
    zlib
  ];

  preConfigure = ''
    makeWrapperArgs+=(
      --chdir "$out/lib/${pname}"
    )
  '';
  executables = [ "WalletWasabi.Backend" ];

  postFixup = ''
    mv $out/bin/WalletWasabi.Backend $out/bin/WasabiBackend
  '';

  passthru.tests = {
  passthru = {
    updateScript = nix-update-script { };
    tests = {
      inherit (nixosTests) wasabibackend;
    };
  };

  meta = with lib; {
  meta = {
    changelog = "https://github.com/WalletWasabi/WalletWasabi/releases/tag/${src.tag}";
    description = "Backend for the Wasabi Wallet";
    homepage = "https://wasabiwallet.io/";
    sourceProvenance = with sourceTypes; [ binaryNativeCode ];
    license = licenses.mit;
    maintainers = with maintainers; [ mmahut ];
    license = lib.licenses.mit;
    mainProgram = "WasabiBackend";
    maintainers = with lib.maintainers; [
      mmahut
    ];
    platforms = [ "x86_64-linux" ];
    sourceProvenance = with lib.sourceTypes; [
      binaryNativeCode # contains binaries in WalletWasabi/Microservices/Binaries
      fromSource
    ];
  };
}