mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
5e95aa1050
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
28 lines
747 B
Nix
28 lines
747 B
Nix
{ lib, stdenv, rustPlatform, fetchurl, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "trinsic-cli";
|
|
version = "1.5.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/trinsic-id/sdk/releases/download/v${version}/trinsic-cli-vendor-${version}.tar.gz";
|
|
sha256 = "sha256-Z9orGhxbu/ehyaYhY35lYWcZQWNVk+zLSoqwAZwnpLY=";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|