python3Packages.oracledb: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-08-03 21:29:43 +02:00
committed by GitHub
parent 0691346015
commit 1d19cf4d92

View File

@@ -8,7 +8,7 @@
typing-extensions,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "oracledb";
version = "4.0.2";
pyproject = true;
@@ -16,7 +16,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "oracle";
repo = "python-oracledb";
tag = "v${version}";
tag = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-xT2PWP6kQ0K+9kxe0vNWY5+kMyKZ1J7toiEZBxfsAGE=";
};
@@ -39,11 +39,11 @@ buildPythonPackage rec {
meta = {
description = "Python driver for Oracle Database";
homepage = "https://oracle.github.io/python-oracledb";
changelog = "https://github.com/oracle/python-oracledb/blob/${src.tag}/doc/src/release_notes.rst";
changelog = "https://github.com/oracle/python-oracledb/blob/${finalAttrs.src.tag}/doc/src/release_notes.rst";
license = with lib.licenses; [
asl20 # and or
upl
];
maintainers = with lib.maintainers; [ harvidsen ];
};
}
})