Merge pull request #146458 from trinsic-id/trinsic-cli

This commit is contained in:
Sandro 2021-11-25 01:05:37 +01:00 committed by GitHub
commit 4c7f67b57a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 0 deletions

View File

@ -11688,6 +11688,12 @@
fingerprint = "556A 403F B0A2 D423 F656 3424 8489 B911 F9ED 617B";
}];
};
tmarkovski = {
email = "tmarkovski@gmail.com";
github = "tmarkovski";
githubId = 1280118;
name = "Tomislav Markovski";
};
tmountain = {
email = "tinymountain@gmail.com";
github = "tmountain";

View File

@ -0,0 +1,26 @@
{ lib, stdenv, rustPlatform, fetchurl, Security }:
rustPlatform.buildRustPackage rec {
pname = "trinsic-cli";
version = "1.1.2";
src = fetchurl {
url = "https://github.com/trinsic-id/sdk/releases/download/v${version}/trinsic-cli-vendor-${version}.tar.gz";
sha256 = "7e5377e8460ebb1253b9974e02d0077ffc58f2b4712cf7896f1bef7e9f580cd4";
};
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 ];
};
}

View File

@ -22770,6 +22770,10 @@ with pkgs;
trinity = callPackage ../os-specific/linux/trinity { };
trinsic-cli = callPackage ../tools/admin/trinsic-cli {
inherit (darwin.apple_sdk.frameworks) Security;
};
tunctl = callPackage ../os-specific/linux/tunctl { };
twa = callPackage ../tools/networking/twa { };