nixpkgs/pkgs/applications/blockchains/nbxplorer/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
909 B
Nix
Raw Normal View History

2022-07-08 23:02:07 +00:00
{ lib
, buildDotnetModule
, fetchFromGitHub
, dotnetCorePackages
}:
2020-08-10 17:49:20 +00:00
2021-10-19 14:34:37 +00:00
buildDotnetModule rec {
2020-08-10 17:49:20 +00:00
pname = "nbxplorer";
2024-02-08 20:45:32 +00:00
version = "2.5.0";
2020-08-10 17:49:20 +00:00
src = fetchFromGitHub {
owner = "dgarage";
repo = "NBXplorer";
rev = "v${version}";
2024-02-08 20:45:32 +00:00
sha256 = "sha256-yhOPv8J1unDx61xPc8ktQbIfkp00PPXRlOgdGo2QkB4=";
2020-08-10 17:49:20 +00:00
};
2021-10-19 14:34:37 +00:00
projectFile = "NBXplorer/NBXplorer.csproj";
nugetDeps = ./deps.nix;
2020-08-10 17:49:20 +00:00
2024-02-08 20:45:32 +00:00
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.aspnetcore_8_0;
2020-08-10 17:49:20 +00:00
2022-07-08 23:02:07 +00:00
# macOS has a case-insensitive filesystem, so these two can be the same file
postFixup = ''
2022-07-08 23:02:07 +00:00
mv $out/bin/{NBXplorer,nbxplorer} || :
2020-08-10 17:49:20 +00:00
'';
meta = with lib; {
description = "Minimalist UTXO tracker for HD Cryptocurrency Wallets";
maintainers = with maintainers; [ kcalvinalvin erikarvstedt ];
2021-10-19 14:34:37 +00:00
license = licenses.mit;
2022-07-08 23:02:07 +00:00
platforms = platforms.linux ++ platforms.darwin;
2023-11-27 01:17:53 +00:00
mainProgram = "nbxplorer";
2020-08-10 17:49:20 +00:00
};
}