From 90791dc4e1c08347347645cdd353ab5a74bc9ea2 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 28 Sep 2022 23:03:32 +0200 Subject: [PATCH] taro: init at 0.1.0-alpha --- .../applications/blockchains/taro/default.nix | 29 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/applications/blockchains/taro/default.nix 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 c3854037f194..fec476d101a5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33078,6 +33078,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 { };