2021-10-19 15:34:37 +01:00
|
|
|
{ lib, buildDotnetModule, fetchFromGitHub, dotnetCorePackages }:
|
2020-08-10 18:49:20 +01:00
|
|
|
|
2021-10-19 15:34:37 +01:00
|
|
|
buildDotnetModule rec {
|
2020-08-10 18:49:20 +01:00
|
|
|
pname = "nbxplorer";
|
2021-11-22 14:30:50 +00:00
|
|
|
version = "2.2.18";
|
2020-08-10 18:49:20 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dgarage";
|
|
|
|
repo = "NBXplorer";
|
|
|
|
rev = "v${version}";
|
2021-11-22 14:30:50 +00:00
|
|
|
sha256 = "sha256-zjSHgMdK417bm1Z/B2kvloDnPTqzM9jEVkZvoKeBkzM=";
|
2020-08-10 18:49:20 +01:00
|
|
|
};
|
|
|
|
|
2021-10-19 15:34:37 +01:00
|
|
|
projectFile = "NBXplorer/NBXplorer.csproj";
|
|
|
|
nugetDeps = ./deps.nix;
|
2020-08-10 18:49:20 +01:00
|
|
|
|
2021-10-19 15:34:37 +01:00
|
|
|
dotnet-sdk = dotnetCorePackages.sdk_3_1;
|
|
|
|
dotnet-runtime = dotnetCorePackages.aspnetcore_3_1;
|
2020-08-10 18:49:20 +01:00
|
|
|
|
2021-10-19 15:34:37 +01:00
|
|
|
postInstall = ''
|
|
|
|
mv $out/bin/{NBXplorer,nbxplorer}
|
2020-08-10 18:49:20 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Minimalist UTXO tracker for HD Cryptocurrency Wallets";
|
|
|
|
maintainers = with maintainers; [ kcalvinalvin earvstedt ];
|
2021-10-19 15:34:37 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
2020-08-10 18:49:20 +01:00
|
|
|
};
|
|
|
|
}
|