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-05 21:29:48 +02:00
|
|
|
rev = "389e5d4316c4d384fcb089e0d3289a9c21c07291";
|
|
|
|
hash = "sha256-10MvcR62OI0dZSoUNzmM6QjyZGSfG9Re7CW0nW1iZz4=";
|
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
|
|
|
|
|
|
|
nativeBuildInputs = [ protobuf ];
|
2024-04-01 17:19:49 +02:00
|
|
|
patches = [ ./patches/comet.patch ];
|
2024-03-29 14:50:41 +01:00
|
|
|
|
|
|
|
cargoLock.lockFile = src + /Cargo.lock;
|
2024-03-29 12:47:04 +01:00
|
|
|
}
|