0a69265d0f
- Fix build
57 lines
986 B
Nix
57 lines
986 B
Nix
{
|
|
lib,
|
|
botocore,
|
|
buildPythonPackage,
|
|
dvc-objects,
|
|
fetchPypi,
|
|
flatten-dict,
|
|
funcy,
|
|
s3fs,
|
|
setuptools-scm,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "dvc-s3";
|
|
version = "3.3.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "dvc_s3";
|
|
inherit (finalAttrs) version;
|
|
hash = "sha256-8dcYpE3O5Rkb60bkSt9LsiiCy46czdjyZAB4q8VkV9Q=";
|
|
};
|
|
|
|
# Prevent circular dependency
|
|
pythonRemoveDeps = [ "dvc" ];
|
|
|
|
build-system = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
dependencies = [
|
|
botocore
|
|
dvc-objects
|
|
flatten-dict
|
|
funcy
|
|
s3fs
|
|
];
|
|
|
|
# Network access is needed for tests
|
|
doCheck = false;
|
|
|
|
# Circular dependency
|
|
# pythonImportsCheck = [
|
|
# "dvc_s3"
|
|
# ];
|
|
|
|
meta = {
|
|
description = "S3 plugin for dvc";
|
|
homepage = "https://pypi.org/project/dvc-s3";
|
|
changelog = "https://github.com/iterative/dvc-s3/releases/tag/${finalAttrs.version}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
})
|