blob: e89d4d4758341618be8b6a1e4d2c953abd48f66d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ fetchFromGitHub, lib, rustPlatform, pkg-config, openssl, stdenv, Security, SystemConfiguration }:
rustPlatform.buildRustPackage rec {
pname = "vrc-get";
version = "1.5.2";
src = fetchFromGitHub {
owner = "anatawa12";
repo = pname;
rev = "v${version}";
hash = "sha256-DTiYyTZKYNprQSsAjHmpGdnS6dkXa3hSRGmIiLT/xr8=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
# Make openssl-sys use pkg-config.
OPENSSL_NO_VENDOR = 1;
cargoHash = "sha256-4bhle98/zfw1uGNx+m1/4H9n63DnIezg/ZdV+zj0JNA=";
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 ];
mainProgram = "vrc-get";
};
}
|