depot/third_party/nixpkgs/pkgs/applications/blockchains/nbxplorer/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

30 lines
771 B
Nix

{ 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;
};
}