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

20 lines
454 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-01 11:05:37 +02:00
rev = "62bcdd89d09d914edec6d2201891f292527d7b28";
hash = "sha256-CZDx5vgWuG58yaoVvbfOASoULM1HnQxTmVWLa63ci9Q=";
fetchSubmodules = true;
};
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;
}