evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / ossfs / default.nix
blob940f5a20b34298b7efb0bfd9df7a0f0fe7e7d2b1
2   lib,
3   aiooss2,
4   buildPythonPackage,
5   fetchFromGitHub,
6   fsspec,
7   oss2,
8   pythonOlder,
9   setuptools-scm,
12 buildPythonPackage rec {
13   pname = "ossfs";
14   version = "2023.12.0";
15   format = "pyproject";
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "fsspec";
21     repo = pname;
22     rev = "refs/tags/${version}";
23     hash = "sha256-N1NkpI8inGJCf0xuc+FFmVX85CS7vqzoNddxZ9kqEk0=";
24   };
26   pythonRelaxDeps = [
27     "aiooss2"
28     "fsspec"
29     "oss2"
30   ];
32   nativeBuildInputs = [
33     setuptools-scm
34   ];
36   propagatedBuildInputs = [
37     aiooss2
38     fsspec
39     oss2
40   ];
42   # Most tests require network access
43   doCheck = false;
45   pythonImportsCheck = [ "ossfs" ];
47   meta = with lib; {
48     description = "Filesystem for Alibaba Cloud (Aliyun) Object Storage System (OSS)";
49     homepage = "https://github.com/fsspec/ossfs";
50     changelog = "https://github.com/fsspec/ossfs/releases/tag/${version}";
51     license = licenses.asl20;
52     maintainers = with maintainers; [ fab ];
53   };