python3Packages.aiorwlock: migrate to finalAttrs
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
poetry-core,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "aiorwlock";
|
||||
version = "1.5.1";
|
||||
pyproject = true;
|
||||
@@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "aio-libs";
|
||||
repo = "aiorwlock";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-+favszX1mVuuLWqKCIk+i5frX+y2kOArAUVIAJG1otY=";
|
||||
};
|
||||
|
||||
@@ -31,8 +31,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Read write lock for asyncio";
|
||||
homepage = "https://github.com/aio-libs/aiorwlock";
|
||||
changelog = "https://github.com/aio-libs/aiorwlock/releases/tag/v${version}";
|
||||
changelog = "https://github.com/aio-libs/aiorwlock/releases/tag/v${finalAttrs.src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ billhuang ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user