diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-08-13 20:40:27 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-08-13 20:40:27 +0200 |
commit | 7275686165ffd3d89ccbb3e26d17fc713492b8c4 (patch) | |
tree | 064fa5805fe5d01aab50118caed7f6b17184b092 /pkgs/development/python-modules/ossfs | |
parent | 5d30173ccb65015ee255c475d983321ec7e7eda9 (diff) |
python310Packages.ossfs: init at 2021.8.0
Diffstat (limited to 'pkgs/development/python-modules/ossfs')
-rw-r--r-- | pkgs/development/python-modules/ossfs/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ossfs/default.nix b/pkgs/development/python-modules/ossfs/default.nix new file mode 100644 index 0000000000000..e6d8bf28a6523 --- /dev/null +++ b/pkgs/development/python-modules/ossfs/default.nix @@ -0,0 +1,41 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, fsspec +, oss2 +, pythonOlder +}: + +buildPythonPackage rec { + pname = "ossfs"; + version = "2021.8.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fsspec"; + repo = pname; + rev = version; + hash = "sha256-bORiE3sIDNESjEizdzsJYZTSMbcqpbjostXo+0NQDfA="; + }; + + propagatedBuildInputs = [ + 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"; + license = licenses.asl20; + maintainers = with maintainers; [ fab ]; + }; +} |