python3Packages.dvc-oss: modernize
This commit is contained in:
@@ -4,23 +4,27 @@
|
||||
dvc-objects,
|
||||
fetchPypi,
|
||||
ossfs,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "dvc-oss";
|
||||
version = "3.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-EEf3NAIvzSuW0ysGv24JIc0KZYEPf8HpsPrCmhR7apo=";
|
||||
};
|
||||
|
||||
# Prevent circular dependency
|
||||
pythonRemoveDeps = [ "dvc" ];
|
||||
|
||||
build-system = [ setuptools-scm ];
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
dvc-objects
|
||||
@@ -33,8 +37,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Alibaba OSS plugin for dvc";
|
||||
homepage = "https://pypi.org/project/dvc-oss/";
|
||||
changelog = "https://github.com/iterative/dvc-oss/releases/tag/${version}";
|
||||
changelog = "https://github.com/iterative/dvc-oss/releases/tag/${finalAttrs.version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user