mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
python3Packages.dvc-azure: init at 2.21.0
This commit is contained in:
parent
18f2c66130
commit
6cbbb21b6b
@ -80,8 +80,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
boto3
|
||||
s3fs
|
||||
] ++ lib.optionals enableAzure [
|
||||
azure-identity
|
||||
knack
|
||||
dvc-azure
|
||||
] ++ lib.optionals enableSSH [
|
||||
bcrypt
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
|
41
pkgs/development/python-modules/dvc-azure/default.nix
Normal file
41
pkgs/development/python-modules/dvc-azure/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, adlfs
|
||||
, azure-identity
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, knack
|
||||
, pythonRelaxDepsHook
|
||||
, setuptools-scm }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dvc-azure";
|
||||
version = "2.21.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-VN3QSGb4cLhxX8JV1Pg4/449SJOWv9Tu3kcDGbDwAYw=";
|
||||
};
|
||||
|
||||
# Prevent circular dependency
|
||||
pythonRemoveDeps = [ "dvc" ];
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm pythonRelaxDepsHook ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
adlfs azure-identity knack
|
||||
];
|
||||
|
||||
# Network access is needed for tests
|
||||
doCheck = false;
|
||||
|
||||
pythonCheckImports = [ "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 ];
|
||||
};
|
||||
}
|
@ -2997,6 +2997,8 @@ self: super: with self; {
|
||||
|
||||
durus = callPackage ../development/python-modules/durus { };
|
||||
|
||||
dvc-azure = callPackage ../development/python-modules/dvc-azure { };
|
||||
|
||||
dvc-data = callPackage ../development/python-modules/dvc-data { };
|
||||
|
||||
dvc-gs = callPackage ../development/python-modules/dvc-gs { };
|
||||
|
Loading…
Reference in New Issue
Block a user