mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-24 06:00:18 +02:00
Merge pull request #200008 from 0xB10C/2022-11-add-btcd
btcd: init at 0.23.3
This commit is contained in:
commit
98a3fe0579
|
@ -69,6 +69,12 @@
|
||||||
fingerprint = "F466 A548 AD3F C1F1 8C88 4576 8702 7528 B006 D66D";
|
fingerprint = "F466 A548 AD3F C1F1 8C88 4576 8702 7528 B006 D66D";
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
_0xB10C = {
|
||||||
|
email = "nixpkgs@b10c.me";
|
||||||
|
name = "0xB10C";
|
||||||
|
github = "0xb10c";
|
||||||
|
githubId = 19157360;
|
||||||
|
};
|
||||||
_0xbe7a = {
|
_0xbe7a = {
|
||||||
email = "nix@be7a.de";
|
email = "nix@be7a.de";
|
||||||
name = "Bela Stoyan";
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -33397,6 +33397,8 @@ with pkgs;
|
||||||
inherit (darwin) autoSignDarwinBinariesHook;
|
inherit (darwin) autoSignDarwinBinariesHook;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
btcd = callPackage ../applications/blockchains/btcd { };
|
||||||
|
|
||||||
cgminer = callPackage ../applications/blockchains/cgminer { };
|
cgminer = callPackage ../applications/blockchains/cgminer { };
|
||||||
|
|
||||||
chia = callPackage ../applications/blockchains/chia { };
|
chia = callPackage ../applications/blockchains/chia { };
|
||||||
|
|
Loading…
Reference in a new issue