python3.pkgs.tabulate: use finalAttrs: pattern
This commit is contained in:
@@ -8,13 +8,13 @@
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
version = "0.9.0";
|
||||
pname = "tabulate";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-AJWxK/WWbeUpwP6x+ghnFnGzNo7sd9fverEUviwGizw=";
|
||||
};
|
||||
|
||||
@@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
]
|
||||
++ lib.concatAttrValues optional-dependencies;
|
||||
++ lib.concatAttrValues finalAttrs.finalPackage.optional-dependencies;
|
||||
|
||||
# Tests against stdlib behavior which changed in https://github.com/python/cpython/pull/139070
|
||||
disabledTests = [
|
||||
@@ -44,4 +44,4 @@ buildPythonPackage rec {
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ doronbehar ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user