diff --git a/pkgs/development/python-modules/azure-storage-file-datalake/default.nix b/pkgs/development/python-modules/azure-storage-file-datalake/default.nix index 8ddc795d9180..97b1688542c8 100644 --- a/pkgs/development/python-modules/azure-storage-file-datalake/default.nix +++ b/pkgs/development/python-modules/azure-storage-file-datalake/default.nix @@ -1,28 +1,25 @@ { lib, - buildPythonPackage, - fetchFromGitHub, - setuptools, azure-core, azure-storage-blob, + buildPythonPackage, + fetchPypi, isodate, + setuptools, typing-extensions, }: buildPythonPackage rec { pname = "azure-storage-file-datalake"; - version = "12.17.0"; + version = "12.21.0"; pyproject = true; - src = fetchFromGitHub { - owner = "Azure"; - repo = "azure-sdk-for-python"; - tag = "azure-storage-file-datalake_${version}"; - hash = "sha256-FT51a7yuSMLJSnMFK9N09Rc8p/uaoYCcj9WliSvY6UA="; + src = fetchPypi { + pname = "azure_storage_file_datalake"; + inherit version; + hash = "sha256-tJzSFW6jJfb0So9mdNc8WUnprEjWSA+vkBspOYVfzdM="; }; - sourceRoot = "${src.name}/sdk/storage/azure-storage-file-datalake"; - build-system = [ setuptools ]; dependencies = [ @@ -38,15 +35,13 @@ buildPythonPackage rec { pythonImportsCheck = [ "azure.storage.filedatalake" ]; - # require devtools_testutils which is a internal package for azure-sdk + # Tests are only available in mono repo doCheck = false; - # multiple packages in a singel repo, and the updater picks the wrong tag - passthru.skipBulkUpdate = true; - meta = { description = "Microsoft Azure File DataLake Storage Client Library for Python"; homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-file-datalake"; + changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-storage-file-datalake_${version}/sdk/storage/azure-storage-file-datalake/CHANGELOG.md"; license = lib.licenses.mit; maintainers = [ ]; };