Unverified Commit 94058a20 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.sseclient-py: migrate to finalAttrs

parent 20a39380
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
  pytestCheckHook,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "sseclient-py";
  version = "1.9.0";
  pyproject = true;
@@ -14,7 +14,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "mpetazzoni";
    repo = "sseclient";
    tag = "sseclient-py-${version}";
    tag = "sseclient-py-${finalAttrs.version}";
    hash = "sha256-AIldZFElGgSbw38aZWCWI1N35MiE+b9D1s/XhD7aIvo=";
  };

@@ -27,8 +27,8 @@ buildPythonPackage rec {
  meta = {
    description = "Pure-Python Server Side Events (SSE) client";
    homepage = "https://github.com/mpetazzoni/sseclient";
    changelog = "https://github.com/mpetazzoni/sseclient/releases/tag/sseclient-py-${src.tag}";
    changelog = "https://github.com/mpetazzoni/sseclient/releases/tag/sseclient-py-${finalAttrs.src.tag}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ jamiemagee ];
  };
}
})