nixpkgs/pkgs/applications/blockchains/taproot-assets/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
665 B
Nix
Raw Normal View History

2022-09-28 21:03:32 +00:00
{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
2023-07-04 02:23:18 +00:00
pname = "taproot-assets";
version = "0.2.2";
2022-09-28 21:03:32 +00:00
src = fetchFromGitHub {
owner = "lightninglabs";
2023-07-04 02:23:18 +00:00
repo = "taproot-assets";
2022-09-28 21:03:32 +00:00
rev = "v${version}";
2023-07-04 02:23:18 +00:00
hash = "sha256-DOtCnPnS5Oq5B4xaYmNCXxMYJ9fhPZ11OfPKXH7eKUg=";
2022-09-28 21:03:32 +00:00
};
2023-07-04 02:23:18 +00:00
vendorHash = "sha256-fc++0M7Mnn1nJOkV2gzAVRQCp3vOqsO2OQNlOKaMmB4=";
2022-09-28 21:03:32 +00:00
2023-07-04 02:23:18 +00:00
subPackages = [ "cmd/tapcli" "cmd/tapd" ];
2022-09-28 21:03:32 +00:00
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 ];
};
}