Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 59 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib, aiooss2, buildPythonPackage, fetchFromGitHub, fsspec, oss2, pythonOlder, pythonRelaxDepsHook, setuptools-scm}:
buildPythonPackage rec { pname = "ossfs"; version = "2023.5.0"; format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "fsspec"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-h9h5h2eJO1wzOR7oC2usrEx0ADSoKDu74YczAmZL9NU="; };
SETUPTOOLS_SCM_PRETEND_VERSION = version;
pythonRelaxDeps = [ "aiooss2" "fsspec" "oss2" ];
nativeBuildInputs = [ pythonRelaxDepsHook setuptools-scm ];
propagatedBuildInputs = [ aiooss2 fsspec oss2 ];
# Most tests require network access doCheck = false;
pythonImportsCheck = [ "ossfs" ];
meta = with lib; { description = "Filesystem for Alibaba Cloud (Aliyun) Object Storage System (OSS)"; homepage = "https://github.com/fsspec/ossfs"; changelog = "https://github.com/fsspec/ossfs/releases/tag/${version}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; };}