nixpkgs/pkgs/tools/misc/vrc-get/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
880 B
Nix
Raw Normal View History

2023-07-11 13:16:37 +00:00
{ fetchFromGitHub, lib, rustPlatform, pkg-config, openssl, stdenv, Security }:
rustPlatform.buildRustPackage rec {
pname = "vrc-get";
2023-08-23 14:09:17 +00:00
version = "1.1.3";
2023-07-11 13:16:37 +00:00
src = fetchFromGitHub {
owner = "anatawa12";
repo = pname;
rev = "v${version}";
2023-08-23 14:09:17 +00:00
hash = "sha256-CJBwW2QsLNLyNubawBPD+Cy74JrrdSUHe7JBSdbMnjY=";
fetchSubmodules = true;
2023-07-11 13:16:37 +00:00
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
# Make openssl-sys use pkg-config.
OPENSSL_NO_VENDOR = 1;
2023-08-23 14:09:17 +00:00
cargoHash = "sha256-PnNo+MmBo/Ke7pL6KwRKXz3gycJmbYefTRMWOvlCQaQ=";
2023-07-11 13:16:37 +00:00
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 ];
};
}