python3Packages.qh3: use finalAttrs
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "qh3";
|
||||
version = "1.9.2";
|
||||
pyproject = true;
|
||||
@@ -20,12 +20,12 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "jawah";
|
||||
repo = "qh3";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-B1bCh4/KKXMbGb89XTiMaNqabeIdJ2hbDObzuNEj4NE=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit pname version src;
|
||||
inherit (finalAttrs) pname version src;
|
||||
hash = "sha256-9Bx8K9UwjEN/25+rePzm7ZNZ4nkNOCnwPjlooIA+Cuk=";
|
||||
};
|
||||
|
||||
@@ -69,10 +69,10 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/jawah/qh3/blob/${src.tag}/CHANGELOG.rst";
|
||||
changelog = "https://github.com/jawah/qh3/blob/${finalAttrs.src.tag}/CHANGELOG.rst";
|
||||
description = "Lightweight QUIC and HTTP/3 implementation in Python";
|
||||
homepage = "https://github.com/jawah/qh3";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user