depot/third_party/nixpkgs/pkgs/development/python-modules/dvc-azure/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

53 lines
1,007 B
Nix

{
lib,
adlfs,
azure-identity,
buildPythonPackage,
dvc-objects,
fetchPypi,
knack,
pythonRelaxDepsHook,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "dvc-azure";
version = "3.1.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-UsvHDVQUtQIZs9sKFvaK0l2rp24/Igrr5OSbPGSYriA=";
};
# Prevent circular dependency
pythonRemoveDeps = [ "dvc" ];
nativeBuildInputs = [
setuptools-scm
pythonRelaxDepsHook
];
propagatedBuildInputs = [
adlfs
azure-identity
dvc-objects
knack
];
# Network access is needed for tests
doCheck = false;
# Circular dependency
# pythonImportsCheck = [
# "dvc_azure"
# ];
meta = with lib; {
description = "Azure plugin for dvc";
homepage = "https://pypi.org/project/dvc-azure/${version}";
changelog = "https://github.com/iterative/dvc-azure/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ melling ];
};
}