nixos/home-manager/modules/comet-gog.nix
2024-04-15 10:37:14 +02:00

21 lines
494 B
Nix

{ pkgs, ... }:
with pkgs;
rustPlatform.buildRustPackage rec {
pname = "comet-gog";
version = "e313c8a";
src = fetchFromGitHub {
owner = "imLinguin";
repo = "comet";
rev = "95753236846cbd0980e679c4dbe73fb5908a6956";
hash = "sha256-5PjBOd6RIvnd41PjiGZKl+nq9ZKBZHsXNjYdSsnsu+w=";
fetchSubmodules = true;
};
PROTOC = "${protobuf}/bin/protoc";
PROTOC_INCLUDE = "${protobuf}/include";
nativeBuildInputs = [ protobuf ];
cargoLock.lockFile = src + /Cargo.lock;
}