vrc-get: init at 1.1.1 (#234279)

This commit is contained in:
bddvlpr 2023-07-11 15:16:37 +02:00 committed by GitHub
parent 4d430caa76
commit d5cf1aadb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ fetchFromGitHub, lib, rustPlatform, pkg-config, openssl, stdenv, Security }:
rustPlatform.buildRustPackage rec {
pname = "vrc-get";
version = "1.1.1";
src = fetchFromGitHub {
owner = "anatawa12";
repo = pname;
rev = "v${version}";
sha256 = "16r3b2w4xfw1lwxp8ib23f76i4zgl8hk7q2g82yw6hxjimq69sy2";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
# Make openssl-sys use pkg-config.
OPENSSL_NO_VENDOR = 1;
cargoSha256 = "1f76y7hzh4pk7gj0w5gqb65w8qvkfx1bxx9z3w9vdqdkz39439rf";
meta = with lib; {
description = "Command line client of VRChat Package Manager, the main feature of VRChat Creator Companion (VCC)";
homepage = "https://github.com/anatawa12/vrc-get";
license = licenses.mit;
maintainers = with maintainers; [ bddvlpr ];
};
}

View File

@ -1867,6 +1867,10 @@ with pkgs;
vopono = callPackage ../tools/networking/vopono { };
vrc-get = callPackage ../tools/misc/vrc-get {
inherit (darwin.apple_sdk.frameworks) Security;
};
winbox = callPackage ../tools/admin/winbox {
wine = wineWowPackages.staging;
};