1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
41 lines
797 B
Nix
41 lines
797 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
dvc-objects,
|
|
fetchPypi,
|
|
ossfs,
|
|
setuptools-scm,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dvc-oss";
|
|
version = "3.0.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-EEf3NAIvzSuW0ysGv24JIc0KZYEPf8HpsPrCmhR7apo=";
|
|
};
|
|
|
|
# Prevent circular dependency
|
|
pythonRemoveDeps = [ "dvc" ];
|
|
|
|
build-system = [ setuptools-scm ];
|
|
|
|
dependencies = [
|
|
dvc-objects
|
|
ossfs
|
|
];
|
|
|
|
# Circular dependency
|
|
# pythonImportsCheck = [ "dvc_ssh" ];
|
|
|
|
meta = {
|
|
description = "Alibaba OSS plugin for dvc";
|
|
homepage = "https://pypi.org/project/dvc-oss/";
|
|
changelog = "https://github.com/iterative/dvc-oss/releases/tag/${version}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|