mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
python310Packages.ossfs: init at 2021.8.0
This commit is contained in:
parent
5d30173ccb
commit
7275686165
41
pkgs/development/python-modules/ossfs/default.nix
Normal file
41
pkgs/development/python-modules/ossfs/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -6359,6 +6359,8 @@ in {
|
||||
|
||||
oss2 = callPackage ../development/python-modules/oss2 { };
|
||||
|
||||
ossfs = callPackage ../development/python-modules/ossfs { };
|
||||
|
||||
outcome = callPackage ../development/python-modules/outcome { };
|
||||
|
||||
ovh = callPackage ../development/python-modules/ovh { };
|
||||
|
Loading…
Reference in New Issue
Block a user