1{ lib 2, adlfs 3, azure-identity 4, buildPythonPackage 5, dvc-objects 6, fetchPypi 7, knack 8, pythonRelaxDepsHook 9, setuptools-scm }: 10 11buildPythonPackage rec { 12 pname = "dvc-azure"; 13 version = "2.22.1"; 14 format = "setuptools"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-v3VRCN1OoST5RlfUOP9Dpfmf3o9C/ckusmh91Ya2Cik="; 19 }; 20 21 # Prevent circular dependency 22 pythonRemoveDeps = [ "dvc" ]; 23 24 nativeBuildInputs = [ setuptools-scm pythonRelaxDepsHook ]; 25 26 propagatedBuildInputs = [ 27 adlfs azure-identity dvc-objects knack 28 ]; 29 30 # Network access is needed for tests 31 doCheck = false; 32 33 pythonImportsCheck = [ "dvc_azure" ]; 34 35 meta = with lib; { 36 description = "azure plugin for dvc"; 37 homepage = "https://pypi.org/project/dvc-azure/${version}"; 38 changelog = "https://github.com/iterative/dvc-azure/releases/tag/${version}"; 39 license = licenses.asl20; 40 maintainers = with maintainers; [ melling ]; 41 }; 42}