nixos/home-manager/modules/comet-gog.nix
2024-04-05 21:29:48 +02:00

20 lines
454 B
Nix

{ pkgs, ... }:
with pkgs;
rustPlatform.buildRustPackage rec {
pname = "comet-gog";
version = "e313c8a";
src = fetchFromGitHub {
owner = "imLinguin";
repo = "comet";
rev = "389e5d4316c4d384fcb089e0d3289a9c21c07291";
hash = "sha256-10MvcR62OI0dZSoUNzmM6QjyZGSfG9Re7CW0nW1iZz4=";
fetchSubmodules = true;
};
nativeBuildInputs = [ protobuf ];
patches = [ ./patches/comet.patch ];
cargoLock.lockFile = src + /Cargo.lock;
}