nixpkgs-suyu/pkgs/tools/admin/trinsic-cli/default.nix

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

27 lines
731 B
Nix
Raw Normal View History

2021-11-18 19:30:28 +01:00
{ lib, stdenv, rustPlatform, fetchurl, Security }:
rustPlatform.buildRustPackage rec {
pname = "trinsic-cli";
2022-02-07 22:09:16 +01:00
version = "1.3.0";
2021-11-18 19:30:28 +01:00
src = fetchurl {
url = "https://github.com/trinsic-id/sdk/releases/download/v${version}/trinsic-cli-vendor-${version}.tar.gz";
2022-02-07 22:09:16 +01:00
sha256 = "4ec8a02cf7cd31822668e97befe96f0a7a32b1103abfe27c1bff643d3bf16588";
2021-11-18 19:30:28 +01: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 ];
};
}