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