diff --git a/pkgs/applications/blockchains/taro/default.nix b/pkgs/applications/blockchains/taro/default.nix new file mode 100644 index 000000000000..ef2c71ebd6fa --- /dev/null +++ b/pkgs/applications/blockchains/taro/default.nix @@ -0,0 +1,29 @@ +{ buildGoModule +, fetchFromGitHub +, lib +}: + +buildGoModule rec { + pname = "taro"; + version = "0.1.0-alpha"; + + src = fetchFromGitHub { + owner = "lightninglabs"; + repo = "taro"; + rev = "v${version}"; + sha256 = "sha256-0kEdGHi+R9Ns3cVgHSpK/GMVqi8xU/xV831ogV2ErYM="; + }; + + vendorSha256 = "sha256-huQZy62lx82lmuCQ7RQ+7SLMJIBYKfXbw+2ZkswPXxw="; + + subPackages = [ "cmd/tarocli" "cmd/tarod" ]; + + ldflags = [ "-s" "-w" ]; + + meta = with lib; { + description = "Daemon for the Taro protocol specification"; + homepage = "https://github.com/lightninglabs/taro"; + license = licenses.mit; + maintainers = with maintainers; [ prusnak ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 99350d88ed97..eecc50b96c10 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32996,6 +32996,8 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) Security; }; + taro = callPackage ../applications/blockchains/taro { }; + terra-station = callPackage ../applications/blockchains/terra-station { }; tessera = callPackage ../applications/blockchains/tessera { };