2022-07-09 00:02:07 +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";
|
2022-07-13 11:22:39 +01:00
|
|
|
version = "2.3.28";
|
2020-08-10 18:49:20 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dgarage";
|
|
|
|
repo = "NBXplorer";
|
|
|
|
rev = "v${version}";
|
2022-07-13 11:22:39 +01:00
|
|
|
sha256 = "sha256-4KedlU+TMwO6C/dgNa23N4uPk8gPq2SQKzYkCZS508I=";
|
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
|
|
|
|
2022-02-01 14:25:17 +00:00
|
|
|
dotnet-runtime = dotnetCorePackages.aspnetcore_6_0;
|
2020-08-10 18:49:20 +01:00
|
|
|
|
2022-07-09 00:02:07 +01:00
|
|
|
# macOS has a case-insensitive filesystem, so these two can be the same file
|
2022-01-11 23:25:30 +00:00
|
|
|
postFixup = ''
|
2022-07-09 00:02:07 +01:00
|
|
|
mv $out/bin/{NBXplorer,nbxplorer} || :
|
2020-08-10 18:49:20 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Minimalist UTXO tracker for HD Cryptocurrency Wallets";
|
2022-06-26 18:12:18 +01:00
|
|
|
maintainers = with maintainers; [ kcalvinalvin erikarvstedt ];
|
2021-10-19 15:34:37 +01:00
|
|
|
license = licenses.mit;
|
2022-07-09 00:02:07 +01:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2020-08-10 18:49:20 +01:00
|
|
|
};
|
|
|
|
}
|