diff --git a/pkgs/by-name/fl/flux9s/package.nix b/pkgs/by-name/fl/flux9s/package.nix index 921d9db9075c..27002b1ed129 100644 --- a/pkgs/by-name/fl/flux9s/package.nix +++ b/pkgs/by-name/fl/flux9s/package.nix @@ -1,5 +1,5 @@ { - fetchCrate, + fetchFromGitHub, lib, openssl, pkg-config, @@ -11,9 +11,11 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "flux9s"; version = "0.10.2"; - src = fetchCrate { - inherit (finalAttrs) pname version; - hash = "sha256-a+kGFxhqeo8Na5T4IZkyhFyPqT6FvOLP3oiuJUuJIOY="; + src = fetchFromGitHub { + owner = "dgunzy"; + repo = "flux9s"; + tag = "v${finalAttrs.version}"; + hash = "sha256-pphw27LHz+TrU5QcUZZ7zS5k02AaFWBEEHsiV+I+05E="; }; cargoHash = "sha256-M2UCpSwKVFGXACcYkxJ8TzRHYgTLqt29RBMMdRvHZv8=";