Commit 6cd81a1e authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python3Packages.starlette-context: migrate to finalAttrs

parent 0bf27e47
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
  starlette,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "starlette-context";
  version = "0.5.1";
  pyproject = true;
@@ -17,7 +17,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "tomwojcik";
    repo = "starlette-context";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-cxhTrLLIjlqaR07VVgHmvYctk7+7fDjbGb39PbJbGgk=";
  };

@@ -36,8 +36,8 @@ buildPythonPackage rec {
  meta = {
    description = "Middleware for Starlette that allows you to store and access the context data of a request";
    homepage = "https://github.com/tomwojcik/starlette-context";
    changelog = "https://github.com/tomwojcik/starlette-context/releases/tag/v${version}";
    changelog = "https://github.com/tomwojcik/starlette-context/releases/tag/v${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}
})