Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
68 lines
1.4 KiB
Nix
68 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
buildDotnetModule,
|
|
dotnetCorePackages,
|
|
zlib,
|
|
openssl,
|
|
nix-update-script,
|
|
nixosTests,
|
|
}:
|
|
buildDotnetModule rec {
|
|
pname = "wasabibackend";
|
|
version = "2.3.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "WalletWasabi";
|
|
repo = "WalletWasabi";
|
|
tag = "v${version}";
|
|
hash = "sha256-vOvNumR/0agf9Mof0UD3KjJVgN18y6R/OrgLOXwL3K8=";
|
|
};
|
|
|
|
projectFile = "WalletWasabi.Backend/WalletWasabi.Backend.csproj";
|
|
nugetDeps = ./deps.json;
|
|
|
|
dotnet-sdk = dotnetCorePackages.sdk_8_0;
|
|
dotnet-runtime = dotnetCorePackages.aspnetcore_8_0;
|
|
|
|
buildInputs = [
|
|
(lib.getLib stdenv.cc.cc)
|
|
zlib
|
|
];
|
|
|
|
runtimeDeps = [
|
|
openssl
|
|
zlib
|
|
];
|
|
|
|
executables = [ "WalletWasabi.Backend" ];
|
|
|
|
postFixup = ''
|
|
mv $out/bin/WalletWasabi.Backend $out/bin/WasabiBackend
|
|
'';
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
tests = {
|
|
inherit (nixosTests) wasabibackend;
|
|
};
|
|
};
|
|
|
|
meta = {
|
|
changelog = "https://github.com/WalletWasabi/WalletWasabi/releases/tag/${src.tag}";
|
|
description = "Backend for the Wasabi Wallet";
|
|
homepage = "https://wasabiwallet.io/";
|
|
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
|
|
];
|
|
};
|
|
}
|