Merge pull request #302297 from anatawa12/vrc-get-1.8.0

vrc-get: 1.5.2 -> 1.8.0
This commit is contained in:
kirillrdy 2024-04-08 06:12:52 +10:00 committed by GitHub
commit 00d75ce73a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 13 deletions

View File

@ -1,28 +1,23 @@
{ fetchFromGitHub, lib, rustPlatform, pkg-config, openssl, stdenv, Security, SystemConfiguration }:
{ fetchCrate, lib, rustPlatform, pkg-config, stdenv, Security, SystemConfiguration }:
rustPlatform.buildRustPackage rec {
pname = "vrc-get";
version = "1.5.2";
version = "1.8.0";
src = fetchFromGitHub {
owner = "anatawa12";
repo = pname;
rev = "v${version}";
hash = "sha256-DTiYyTZKYNprQSsAjHmpGdnS6dkXa3hSRGmIiLT/xr8=";
src = fetchCrate {
inherit pname version;
hash = "sha256-+xbHw1DpFmapjsFoUvxUqTok8TKMebMw3gYjO/rx/iU=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
# Make openssl-sys use pkg-config.
OPENSSL_NO_VENDOR = 1;
cargoHash = "sha256-4bhle98/zfw1uGNx+m1/4H9n63DnIezg/ZdV+zj0JNA=";
cargoHash = "sha256-iuLhDcii+wXDNUsUMo8lj4kfJve5RAz7FT5Pxs9yFPQ=";
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";
homepage = "https://github.com/vrc-get/vrc-get";
license = licenses.mit;
maintainers = with maintainers; [ bddvlpr ];
mainProgram = "vrc-get";