2021-11-18 18:30:28 +00:00
|
|
|
{ lib, stdenv, rustPlatform, fetchurl, Security }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "trinsic-cli";
|
2022-07-31 04:48:20 +01:00
|
|
|
version = "1.6.0";
|
2021-11-18 18:30:28 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/trinsic-id/sdk/releases/download/v${version}/trinsic-cli-vendor-${version}.tar.gz";
|
2022-07-31 04:48:20 +01:00
|
|
|
sha256 = "sha256-lLfsZXVecXisiTyZqbWB7hbn4iQOTsrQxe7F+YnCSFU=";
|
2021-11-18 18:30:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cargoVendorDir = "vendor";
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
buildInputs = lib.optionals stdenv.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 ];
|
2022-04-01 20:34:55 +01:00
|
|
|
mainProgram = "trinsic";
|
2021-11-18 18:30:28 +00:00
|
|
|
};
|
|
|
|
}
|