inherd-quake: fix pname, set meta.mainProgram

This commit is contained in:
Bobby Rong 2021-12-29 08:38:30 +08:00
parent 4a578ce659
commit 487f0c6dbe
No known key found for this signature in database
GPG key ID: ED07364437C91161

View file

@ -9,12 +9,12 @@
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "quake"; pname = "inherd-quake";
version = "0.3.0"; version = "0.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "phodal"; owner = "phodal";
repo = pname; repo = "quake";
rev = "v${version}"; rev = "v${version}";
sha256 = "1f7k68g18g3dpnrsmhgmz753bly1i3f4lmsljiyp9ap0c6w8ahgg"; sha256 = "1f7k68g18g3dpnrsmhgmz753bly1i3f4lmsljiyp9ap0c6w8ahgg";
}; };
@ -35,5 +35,6 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/phodal/quake"; homepage = "https://github.com/phodal/quake";
license = licenses.mit; license = licenses.mit;
maintainers = [ maintainers.elliot ]; maintainers = [ maintainers.elliot ];
mainProgram = "quake";
}; };
} }