at master 798 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 python-dateutil, 7 httpx, 8 h2, 9 deprecation, 10}: 11 12buildPythonPackage rec { 13 pname = "storage3"; 14 version = "0.12.1"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "supabase"; 19 repo = "storage-py"; 20 tag = "v${version}"; 21 hash = "sha256-Ef309CTnzbaqKAVMdvroUYAy9RImWZZqhsnwRdpGVkk="; 22 }; 23 24 dependencies = [ 25 python-dateutil 26 httpx 27 h2 28 deprecation 29 ]; 30 31 build-system = [ poetry-core ]; 32 33 pythonImportsCheck = [ "storage3" ]; 34 35 # tests fail due to mock server not starting 36 37 meta = { 38 homepage = "https://github.com/supabase/storage-py"; 39 license = lib.licenses.mit; 40 description = "Supabase Storage client for Python."; 41 maintainers = with lib.maintainers; [ siegema ]; 42 }; 43}