mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-30 06:01:19 +00:00
btcd: init at 0.23.3
This commit is contained in:
parent
011e62ddd7
commit
acc4e8eb23
@ -69,6 +69,12 @@
|
||||
fingerprint = "F466 A548 AD3F C1F1 8C88 4576 8702 7528 B006 D66D";
|
||||
}];
|
||||
};
|
||||
_0xB10C = {
|
||||
email = "nixpkgs@b10c.me";
|
||||
name = "0xB10C";
|
||||
github = "0xb10c";
|
||||
githubId = 19157360;
|
||||
};
|
||||
_0xbe7a = {
|
||||
email = "nix@be7a.de";
|
||||
name = "Bela Stoyan";
|
||||
|
31
pkgs/applications/blockchains/btcd/default.nix
Normal file
31
pkgs/applications/blockchains/btcd/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "btcd";
|
||||
version = "0.23.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "btcsuite";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-LdK68Ianiyrs+HVMwrkiX2ruCWKkdpuY8ylxhNbm9qI=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-3w8rb0sfAIFCXqPXOKb4QwoLd7WsbFv3phu/rJCEjeY=";
|
||||
|
||||
subPackages = [ "." "cmd/*" ];
|
||||
|
||||
preCheck = ''
|
||||
DIR="github.com/btcsuite/btcd/"
|
||||
# TestCreateDefaultConfigFile requires the sample-btcd.conf in $DIR
|
||||
mkdir -p $DIR
|
||||
cp sample-btcd.conf $DIR
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An alternative full node bitcoin implementation written in Go (golang)";
|
||||
homepage = "https://github.com/btcsuite/btcd";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ _0xB10C ];
|
||||
};
|
||||
}
|
@ -33395,6 +33395,8 @@ with pkgs;
|
||||
inherit (darwin) autoSignDarwinBinariesHook;
|
||||
};
|
||||
|
||||
btcd = callPackage ../applications/blockchains/btcd { };
|
||||
|
||||
cgminer = callPackage ../applications/blockchains/cgminer { };
|
||||
|
||||
chia = callPackage ../applications/blockchains/chia { };
|
||||
|
Loading…
Reference in New Issue
Block a user