mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
31 lines
771 B
Nix
31 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;
|
|
};
|
|
}
|