From 487f0c6dbe38942cd44f54e0c2b6878f7dc675bf Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Wed, 29 Dec 2021 08:38:30 +0800 Subject: [PATCH 1/2] inherd-quake: fix pname, set meta.mainProgram --- pkgs/applications/misc/inherd-quake/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/inherd-quake/default.nix b/pkgs/applications/misc/inherd-quake/default.nix index 2a8d04daa0c3..c45eec3bb0b8 100644 --- a/pkgs/applications/misc/inherd-quake/default.nix +++ b/pkgs/applications/misc/inherd-quake/default.nix @@ -9,12 +9,12 @@ }: 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"; }; @@ -35,5 +35,6 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/phodal/quake"; license = licenses.mit; maintainers = [ maintainers.elliot ]; + mainProgram = "quake"; }; } From cdf40cdec5612376cc94665116620278337027fb Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Wed, 29 Dec 2021 08:52:11 +0800 Subject: [PATCH 2/2] inherd-quake: update cargoSha256 --- pkgs/applications/misc/inherd-quake/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/misc/inherd-quake/default.nix b/pkgs/applications/misc/inherd-quake/default.nix index c45eec3bb0b8..1b0de8a65811 100644 --- a/pkgs/applications/misc/inherd-quake/default.nix +++ b/pkgs/applications/misc/inherd-quake/default.nix @@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec { sha256 = "1f7k68g18g3dpnrsmhgmz753bly1i3f4lmsljiyp9ap0c6w8ahgg"; }; - cargoSha256 = "1yqj9rq770j116138bqn4ycggy13vvym1cz50myfddb9rjjzafrl"; + cargoSha256 = "17q9sjypa331gdfvmx1kbcbvnj34rnsf37b9rnji4jrqfysgrs5w"; nativeBuildInputs = [ pkg-config ];