depot/pkgs/applications/blockchains/taproot-assets/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

29 lines
665 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "taproot-assets";
version = "0.4.1";
src = fetchFromGitHub {
owner = "lightninglabs";
repo = "taproot-assets";
rev = "v${version}";
hash = "sha256-aQYVPSDudLK4ZBcBN/wNjVoF/9inOaJRbcyTP6VMdA0=";
};
vendorHash = "sha256-IFzYW5vAtBoUC2ebFYnxS/TojQR4kXxQACNbyn2ZkCs=";
subPackages = [ "cmd/tapcli" "cmd/tapd" ];
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 ];
};
}