diff --git a/pkgs/by-name/lu/lucky-commit/package.nix b/pkgs/by-name/lu/lucky-commit/package.nix index fe3eb0cbef71..99fef8610c6a 100644 --- a/pkgs/by-name/lu/lucky-commit/package.nix +++ b/pkgs/by-name/lu/lucky-commit/package.nix @@ -7,15 +7,15 @@ ocl-icd, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lucky-commit"; version = "2.2.5"; src = fetchFromGitHub { owner = "not-an-aardvark"; repo = "lucky-commit"; - rev = "v${version}"; - sha256 = "sha256-pghc2lTI81/z1bPJ6P2bFPyZkM8pko0V7lqv9rUUxWM="; + tag = "v${finalAttrs.version}"; + hash = "sha256-pghc2lTI81/z1bPJ6P2bFPyZkM8pko0V7lqv9rUUxWM="; }; cargoHash = "sha256-zuWPkaYltxOOLaR6NTVkf1WbKzUQByml45jNL+e5UJ0="; @@ -31,7 +31,7 @@ rustPlatform.buildRustPackage rec { description = "Change the start of your git commit hashes to whatever you want"; homepage = "https://github.com/not-an-aardvark/lucky-commit"; license = lib.licenses.mit; - maintainers = [ ]; + maintainers = with lib.maintainers; [ iamanaws ]; mainProgram = "lucky_commit"; }; -} +})