From d84d84a50688517349af835da965ee0ade75523f Mon Sep 17 00:00:00 2001 From: DSeeLP <46624152+DSeeLP@users.noreply.github.com> Date: Mon, 24 Feb 2025 12:03:45 +0100 Subject: [PATCH 1/2] hickory-dns: 0.25.0-alpha.4 -> 0.25.0-alpha.5 https://github.com/hickory-dns/hickory-dns/releases/tag/v0.25.0-alpha.5 --- pkgs/by-name/hi/hickory-dns/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/hi/hickory-dns/package.nix b/pkgs/by-name/hi/hickory-dns/package.nix index 1e243b12a868..11e71752bae8 100644 --- a/pkgs/by-name/hi/hickory-dns/package.nix +++ b/pkgs/by-name/hi/hickory-dns/package.nix @@ -9,17 +9,17 @@ rustPlatform.buildRustPackage rec { pname = "hickory-dns"; - version = "0.25.0-alpha.4"; + version = "0.25.0-alpha.5"; src = fetchFromGitHub { owner = "hickory-dns"; repo = "hickory-dns"; tag = "v${version}"; - hash = "sha256-yLhTQIu9C1ikm0TtoEPLSt7ZWqJXn4YE2Lrx38sSJtE="; + hash = "sha256-dbtdTvwm1DiV/nQzTAZJ7CD5raId9+bGNLrS88OocxI="; }; useFetchCargoVendor = true; - cargoHash = "sha256-HQit/1umI6+3O9m/Lrsykb72EtLbgM9HXbiMhXU/dr0="; + cargoHash = "sha256-lBxCGR4/PrUJ0JLqBn/VzJY47Yp8M4TRsYfCsZN17Ek="; buildInputs = [ openssl ]; nativeBuildInputs = [ pkg-config ]; From 04b4e14e28f9cbdcaac496dce743f30eb0a23246 Mon Sep 17 00:00:00 2001 From: DSeeLP <46624152+DSeeLP@users.noreply.github.com> Date: Mon, 24 Feb 2025 12:08:39 +0100 Subject: [PATCH 2/2] hickory-dns: use finalAttrs pattern --- pkgs/by-name/hi/hickory-dns/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/hi/hickory-dns/package.nix b/pkgs/by-name/hi/hickory-dns/package.nix index 11e71752bae8..18f5e033c648 100644 --- a/pkgs/by-name/hi/hickory-dns/package.nix +++ b/pkgs/by-name/hi/hickory-dns/package.nix @@ -7,14 +7,14 @@ nix-update-script, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "hickory-dns"; version = "0.25.0-alpha.5"; src = fetchFromGitHub { owner = "hickory-dns"; repo = "hickory-dns"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-dbtdTvwm1DiV/nQzTAZJ7CD5raId9+bGNLrS88OocxI="; }; @@ -46,4 +46,4 @@ rustPlatform.buildRustPackage rec { ]; mainProgram = "hickory-dns"; }; -} +})