templates: rust: change sha256 (deprecated) to hash

This commit is contained in:
2023-04-26 08:34:43 +00:00
parent 718a4b61d7
commit df2e3a1b03

View File

@@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
owner = "ruslashev"; owner = "ruslashev";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-NzFKNCCPWBj/fhaEJF34nyeyvLMeQwIcQgTlYc6mgYo="; hash = "sha256-NzFKNCCPWBj/fhaEJF34nyeyvLMeQwIcQgTlYc6mgYo=";
}; };
cargoHash = "sha256-Dc+SuLwbLFcNSr9RiNSc7dgisBOvOUEIDR8dFAkC/O0="; cargoHash = "sha256-Dc+SuLwbLFcNSr9RiNSc7dgisBOvOUEIDR8dFAkC/O0=";