Merge pull request #152530 from bobby285271/quake

inherd-quake: fix pname, set meta.mainProgram
This commit is contained in:
Bobby Rong 2021-12-29 10:07:19 +08:00 committed by GitHub
commit ce7a43e5b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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