httpx: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-01-26 12:39:05 +01:00
committed by GitHub
parent fe9200bda0
commit 7f5a139270
+4 -4
View File
@@ -5,14 +5,14 @@
versionCheckHook,
}:
buildGoModule rec {
buildGoModule (finalAttrs: {
pname = "httpx";
version = "1.8.1";
src = fetchFromGitHub {
owner = "projectdiscovery";
repo = "httpx";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-hgeBZJqBFNWqcElfgGv8r1yAzifoD27GHPyxh6LpOaU=";
};
@@ -42,9 +42,9 @@ buildGoModule rec {
result reliability with increased threads.
'';
homepage = "https://github.com/projectdiscovery/httpx";
changelog = "https://github.com/projectdiscovery/httpx/releases/tag/v${version}";
changelog = "https://github.com/projectdiscovery/httpx/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "httpx";
};
}
})