2021-12-06 16:07:01 +00:00
|
|
|
{ lib, stdenv, rustPlatform, fetchurl, Security }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "trinsic-cli";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.14.0";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/trinsic-id/sdk/releases/download/v${version}/trinsic-cli-vendor-${version}.tar.gz";
|
2024-04-21 15:54:59 +00:00
|
|
|
sha256 = "sha256-lPw55QcGMvY2YRYJGq4WC0fPbKiika4NF55tlb+i6So=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cargoVendorDir = "vendor";
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Trinsic CLI";
|
|
|
|
longDescription = ''
|
|
|
|
Command line interface for Trinsic Ecosystems
|
|
|
|
'';
|
|
|
|
homepage = "https://trinsic.id/";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ tmarkovski ];
|
2022-04-27 09:35:20 +00:00
|
|
|
mainProgram = "trinsic";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
}
|