{ lib, buildDotnetModule, fetchFromGitHub, dotnetCorePackages }: buildDotnetModule rec { pname = "nbxplorer"; version = "2.2.18"; src = fetchFromGitHub { owner = "dgarage"; repo = "NBXplorer"; rev = "v${version}"; sha256 = "sha256-zjSHgMdK417bm1Z/B2kvloDnPTqzM9jEVkZvoKeBkzM="; }; projectFile = "NBXplorer/NBXplorer.csproj"; nugetDeps = ./deps.nix; dotnet-sdk = dotnetCorePackages.sdk_3_1; dotnet-runtime = dotnetCorePackages.aspnetcore_3_1; postInstall = '' mv $out/bin/{NBXplorer,nbxplorer} ''; meta = with lib; { description = "Minimalist UTXO tracker for HD Cryptocurrency Wallets"; maintainers = with maintainers; [ kcalvinalvin earvstedt ]; license = licenses.mit; platforms = platforms.linux; }; }