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

20 lines
454 B
Nix

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