mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
43 lines
944 B
Nix
43 lines
944 B
Nix
{ lib
|
|
, adlfs
|
|
, azure-identity
|
|
, buildPythonPackage
|
|
, dvc-objects
|
|
, fetchPypi
|
|
, knack
|
|
, pythonRelaxDepsHook
|
|
, setuptools-scm }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dvc-azure";
|
|
version = "2.22.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-v3VRCN1OoST5RlfUOP9Dpfmf3o9C/ckusmh91Ya2Cik=";
|
|
};
|
|
|
|
# Prevent circular dependency
|
|
pythonRemoveDeps = [ "dvc" ];
|
|
|
|
nativeBuildInputs = [ setuptools-scm pythonRelaxDepsHook ];
|
|
|
|
propagatedBuildInputs = [
|
|
adlfs azure-identity dvc-objects knack
|
|
];
|
|
|
|
# Network access is needed for tests
|
|
doCheck = false;
|
|
|
|
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 ];
|
|
};
|
|
}
|