vrc-get: 1.5.2 -> 1.8.0

This commit is contained in:
anatawa12 2024-04-07 17:23:48 +09:00
parent 298edc8f1e
commit adae70b645
No known key found for this signature in database
GPG Key ID: 9CA909848B8E4EA6
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";