depot/third_party/nixpkgs/pkgs/tools/admin/trinsic-cli/default.nix

28 lines
761 B
Nix
Raw Normal View History

{ lib, stdenv, rustPlatform, fetchurl, Security }:
rustPlatform.buildRustPackage rec {
pname = "trinsic-cli";
version = "1.14.0";
src = fetchurl {
url = "https://github.com/trinsic-id/sdk/releases/download/v${version}/trinsic-cli-vendor-${version}.tar.gz";
sha256 = "sha256-lPw55QcGMvY2YRYJGq4WC0fPbKiika4NF55tlb+i6So=";
};
cargoVendorDir = "vendor";
doCheck = false;
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
meta = with lib; {
description = "Trinsic CLI";
longDescription = ''
Command line interface for Trinsic Ecosystems
'';
homepage = "https://trinsic.id/";
license = licenses.asl20;
maintainers = with maintainers; [ tmarkovski ];
mainProgram = "trinsic";
};
}