{ pkgs, ... }: with pkgs; rustPlatform.buildRustPackage rec { pname = "comet-gog"; version = "e313c8a"; src = fetchFromGitHub { owner = "imLinguin"; repo = "comet"; rev = "e313c8ae052dfd9a6b06c8246f83f5f34672bcaa"; hash = "sha256-ctU9yhnlS8x4xY2iUaG7NvPJB4+vJTXzZF2llof4NyM="; fetchSubmodules = true; }; cargoLock.lockFile = src + /Cargo.lock; buildInputs = [ protobuf ]; PROTOC = "${protobuf}/bin/protoc"; }