Unverified Commit e6255bf7 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

python3Packages.pygls: fix changelog url + use finalAttrs (#514571)

parents 996ad938 0fd07b7a
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@
  websockets,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "pygls";
  version = "1.3.1";
  pyproject = true;
@@ -19,7 +19,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "openlawlibrary";
    repo = "pygls";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-AvrGoQ0Be1xKZhFn9XXYJpt5w+ITbDbj6NFZpaDPKao=";
  };

@@ -62,8 +62,8 @@ buildPythonPackage rec {
    broken = lib.versionAtLeast lsprotocol.version "2024";
    description = "Pythonic generic implementation of the Language Server Protocol";
    homepage = "https://github.com/openlawlibrary/pygls";
    changelog = "https://github.com/openlawlibrary/pygls/blob/${version}/CHANGELOG.md";
    changelog = "https://github.com/openlawlibrary/pygls/blob/${finalAttrs.src.tag}/CHANGELOG.md";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ kira-bruneau ];
  };
}
})
+4 −4
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
  nix-update-script,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "pygls";
  version = "2.1.1";
  pyproject = true;
@@ -21,7 +21,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "openlawlibrary";
    repo = "pygls";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-jxc1nKxfiRenb629a2WCZOzqyIOvT5XU4NrjmKPlDHk=";
  };

@@ -65,8 +65,8 @@ buildPythonPackage rec {
  meta = {
    description = "Pythonic generic implementation of the Language Server Protocol";
    homepage = "https://github.com/openlawlibrary/pygls";
    changelog = "https://github.com/openlawlibrary/pygls/blob/${version}/CHANGELOG.md";
    changelog = "https://github.com/openlawlibrary/pygls/blob/${finalAttrs.src.tag}/CHANGELOG.md";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ kira-bruneau ];
  };
}
})