nixos/home-manager/modules/comet-gog.nix

21 lines
494 B
Nix
Raw Normal View History

{ pkgs, ... }:
with pkgs;
rustPlatform.buildRustPackage rec {
pname = "comet-gog";
version = "e313c8a";
2024-03-29 14:50:41 +01:00
src = fetchFromGitHub {
owner = "imLinguin";
repo = "comet";
rev = "e313c8ae052dfd9a6b06c8246f83f5f34672bcaa";
hash = "sha256-ctU9yhnlS8x4xY2iUaG7NvPJB4+vJTXzZF2llof4NyM=";
fetchSubmodules = true;
};
2024-03-29 14:50:41 +01:00
PROTOC = "${protobuf}/bin/protoc";
2024-03-29 14:50:41 +01:00
PROTOC_INCLUDE = "${protobuf}/include";
nativeBuildInputs = [ protobuf ];
cargoLock.lockFile = src + /Cargo.lock;
}