python3Packages.drf-writable-nested: use finalAttrs
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
pytest-django,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "drf-writable-nested";
|
||||
version = "0.7.2";
|
||||
format = "setuptools";
|
||||
@@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "beda-software";
|
||||
repo = "drf-writable-nested";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-VkQ3Di3vXxQAmvuMP8KpGVVdx7LMYcQFEF4ZsuA9KeA=";
|
||||
};
|
||||
|
||||
@@ -36,4 +36,4 @@ buildPythonPackage rec {
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = with lib.maintainers; [ ambroisie ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user