diff --git a/pkgs/by-name/lo/lovely-injector/package.nix b/pkgs/by-name/lo/lovely-injector/package.nix index 605e2331209b..58eb5be8cd07 100644 --- a/pkgs/by-name/lo/lovely-injector/package.nix +++ b/pkgs/by-name/lo/lovely-injector/package.nix @@ -4,18 +4,17 @@ lib, }: let - version = "0.6.0"; - lovelyInjector = fetchFromGitHub { - owner = "vgskye"; - repo = "lovely-injector"; - rev = "3224915f4d47b557c34b5012797cf92d4cc629af"; - hash = "sha256-fzkuuu6pmvqeJa7qlX8jhtCLC4oYRLUm1hqHTRiYEX8="; - }; + version = "0.7.1"; in rustPlatform.buildRustPackage { pname = "lovely-injector"; inherit version; - src = lovelyInjector; + src = fetchFromGitHub { + owner = "ethangreen-dev"; + repo = "lovely-injector"; + tag = "v${version}"; + hash = "sha256-fzkuuu6pmvqeJa7qlX8jhtCLC4oYRLUm1hqHTRiYEX8="; + }; useFetchCargoVendor = true; cargoHash = "sha256-Mkmj+ENdUge1V1cVAQOV2K01sYKEyhxTse0f5o6H6Xc="; # no tests @@ -34,6 +33,6 @@ rustPlatform.buildRustPackage { homepage = "https://github.com/ethangreen-dev/lovely-injector"; downloadPage = "https://github.com/ethangreen-dev/lovely-injector/releases"; maintainers = [ lib.maintainers.antipatico ]; - platforms = lib.platforms.linux ++ lib.platforms.darwin; + platforms = [ "x86_64-linux" ]; }; }