2022-07-14 12:49:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildDotnetModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, dotnetCorePackages
|
|
|
|
}:
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2021-10-28 06:52:43 +00:00
|
|
|
buildDotnetModule rec {
|
2020-09-25 04:45:31 +00:00
|
|
|
pname = "nbxplorer";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "2.3.57";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dgarage";
|
|
|
|
repo = "NBXplorer";
|
|
|
|
rev = "v${version}";
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "sha256-oLkkGdzjyvgIXi0HZiFPCShzbBR8cOgMf1h1Nf1U6Rk=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2021-10-28 06:52:43 +00:00
|
|
|
projectFile = "NBXplorer/NBXplorer.csproj";
|
|
|
|
nugetDeps = ./deps.nix;
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
dotnet-runtime = dotnetCorePackages.aspnetcore_6_0;
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
# macOS has a case-insensitive filesystem, so these two can be the same file
|
2022-01-19 23:45:15 +00:00
|
|
|
postFixup = ''
|
2022-07-14 12:49:19 +00:00
|
|
|
mv $out/bin/{NBXplorer,nbxplorer} || :
|
2020-09-25 04:45:31 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Minimalist UTXO tracker for HD Cryptocurrency Wallets";
|
2022-07-14 12:49:19 +00:00
|
|
|
maintainers = with maintainers; [ kcalvinalvin erikarvstedt ];
|
2021-10-28 06:52:43 +00:00
|
|
|
license = licenses.mit;
|
2022-07-14 12:49:19 +00:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
}
|