2024-03-29 12:47:04 +01:00
|
|
|
{ pkgs, ... }:
|
|
|
|
with pkgs;
|
2024-03-29 12:49:07 +01:00
|
|
|
rustPlatform.buildRustPackage rec {
|
2024-03-29 12:47:04 +01:00
|
|
|
pname = "comet-gog";
|
|
|
|
version = "e313c8a";
|
2024-03-29 14:50:41 +01:00
|
|
|
|
2024-03-29 12:47:04 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "imLinguin";
|
|
|
|
repo = "comet";
|
2024-04-15 10:37:14 +02:00
|
|
|
rev = "95753236846cbd0980e679c4dbe73fb5908a6956";
|
|
|
|
hash = "sha256-5PjBOd6RIvnd41PjiGZKl+nq9ZKBZHsXNjYdSsnsu+w=";
|
2024-03-29 12:49:07 +01:00
|
|
|
fetchSubmodules = true;
|
2024-03-29 12:47:04 +01:00
|
|
|
};
|
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;
|
2024-03-29 12:47:04 +01:00
|
|
|
}
|