Unverified Commit 3f01f1cb authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

python3Packages.gcsfs: cleanup, fix hash (#513063)

parents 52899bb0 b41123e1
Loading
Loading
Loading
Loading
+15 −8
Original line number Diff line number Diff line
@@ -2,29 +2,36 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  setuptools,

  # dependencies
  aiohttp,
  decorator,
  fsspec,
  google-auth,
  google-auth-oauthlib,
  google-cloud-storage,
  google-cloud-storage-control,
  requests,
  decorator,
  fsspec,

  # optional-dependencies
  fusepy,
  aiohttp,
  crcmod,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "gcsfs";
  version = "2026.3.0";
  pyproject = true;
  __structuredAttrs = true;

  src = fetchFromGitHub {
    owner = "fsspec";
    repo = "gcsfs";
    tag = version;
    hash = "sha256-eTIAGPin7Ej+aar5ZXATeYfqQJrGnyWfUdBIfq5eq/c=";
    tag = finalAttrs.version;
    hash = "sha256-RLh3xFW/0qX5labJeUDsRRmQtnTdkvBS+gzJUJ1IP7k=";
  };

  build-system = [
@@ -55,8 +62,8 @@ buildPythonPackage rec {
  meta = {
    description = "Convenient Filesystem interface over GCS";
    homepage = "https://github.com/fsspec/gcsfs";
    changelog = "https://github.com/fsspec/gcsfs/raw/${src.tag}/docs/source/changelog.rst";
    changelog = "https://github.com/fsspec/gcsfs/raw/${finalAttrs.src.tag}/docs/source/changelog.rst";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ nbren12 ];
  };
}
})