python3Packages.gcsfs: cleanup, fix hash (#513063)
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user