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";
2024-04-24 15:12:48 +02:00
rev = "684a6bd03a2b6d10e9bb7afaf293145d51f1acf4";
hash = "sha256-t/33ep4y/sJmyT7BuDNDjJdERA9XF+7buagzSMTV4ro=";
fetchSubmodules = true;
};
2024-03-29 14:50:41 +01:00
2024-04-15 10:37:14 +02:00
PROTOC = "${protobuf}/bin/protoc";
PROTOC_INCLUDE = "${protobuf}/include";
2024-03-29 14:50:41 +01:00
nativeBuildInputs = [ protobuf ];
cargoLock.lockFile = src + /Cargo.lock;
}