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

This commit is contained in:
kirillrdy
2026-04-24 21:29:14 +00:00
committed by GitHub
@@ -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 ];
};
}
})