diff --git a/pkgs/by-name/fe/ferron/package.nix b/pkgs/by-name/fe/ferron/package.nix index af4b2e43c3cb..e2b95ff542e6 100644 --- a/pkgs/by-name/fe/ferron/package.nix +++ b/pkgs/by-name/fe/ferron/package.nix @@ -10,13 +10,14 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "ferron"; - version = "2.7.0"; + version = "2.8.1"; + __structuredAttrs = true; src = fetchFromGitHub { owner = "ferronweb"; repo = "ferron"; tag = finalAttrs.version; - hash = "sha256-nh3dq8s+lH+WbFviFZ9L+4MF4YhGPaJWTYtH12HfXoI="; + hash = "sha256-69rCgyUjEbInTmgZMU6uNuahaqSVcaIOWFVSGC9in28="; }; # ../../ is cargoDepsCopy, and obviously does not contain monoio's README.md @@ -25,9 +26,7 @@ rustPlatform.buildRustPackage (finalAttrs: { --replace-fail '#![doc = include_str!("../../README.md")]' "" ''; - strictDeps = true; - - cargoHash = "sha256-ft7Ewv56u31iPCH3LJKE4Mt68KTfHtIiYMRjeGcwSQQ="; + cargoHash = "sha256-H6AMHYlUdlCFAzOcso5V7uagB1Is304TuXR6+IrqWOU="; nativeBuildInputs = [ pkg-config @@ -53,7 +52,7 @@ rustPlatform.buildRustPackage (finalAttrs: { meta = { description = "Fast, memory-safe web server written in Rust"; homepage = "https://github.com/ferronweb/ferron"; - changelog = "https://github.com/ferronweb/ferron/releases/tag/${finalAttrs.version}"; + changelog = "https://github.com/ferronweb/ferron/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ _0x4A6F