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

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

28 lines
748 B
Nix
Raw Normal View History

2021-11-18 18:30:28 +00:00
{ lib, stdenv, rustPlatform, fetchurl, Security }:
rustPlatform.buildRustPackage rec {
pname = "trinsic-cli";
2023-12-24 14:45:51 +00:00
version = "1.13.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";
2023-12-24 14:45:51 +00:00
sha256 = "sha256-uW4PNlDfyxzec9PzfXr25gPrFZQGr8qm0jLMOeIazoE=";
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 ];
mainProgram = "trinsic";
2021-11-18 18:30:28 +00:00
};
}