Commit 901a024f authored by Sarah Clark's avatar Sarah Clark
Browse files

python3Packages.google-api-python-client: migrate to finalAttrs:

parent 076b927a
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
  setuptools,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "google-api-python-client";
  version = "2.188.0";
  pyproject = true;
@@ -18,7 +18,7 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "googleapis";
    repo = "google-api-python-client";
    tag = "v${version}";
    tag = "v${finalAttrs.version}";
    hash = "sha256-uNvsWCfoT+wp6UnbDP5QS7Os2FnEsTzusdGZ9lD/LwY=";
    # Remove mixed-case files that cause hash differences between platforms
    postFetch = ''
@@ -47,8 +47,8 @@ buildPythonPackage rec {
      any new features.
    '';
    homepage = "https://github.com/google/google-api-python-client";
    changelog = "https://github.com/googleapis/google-api-python-client/releases/tag/${src.tag}";
    changelog = "https://github.com/googleapis/google-api-python-client/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.asl20;
    maintainers = [ lib.maintainers.sarahec ];
  };
}
})