lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.11-beta 60 lines 1.3 kB view raw
1{ lib 2, boto3 3, buildPythonPackage 4, fetchFromGitHub 5, humanize 6, matrix-synapse-unwrapped 7, pythonOlder 8, tqdm 9, twisted 10, psycopg2 11}: 12 13buildPythonPackage rec { 14 pname = "matrix-synapse-s3-storage-provider"; 15 version = "1.2.1"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; 19 20 src = fetchFromGitHub { 21 owner = "matrix-org"; 22 repo = "synapse-s3-storage-provider"; 23 rev = "refs/tags/v${version}"; 24 hash = "sha256-92Xkq54jrUE2I9uVOxI72V9imLNU6K4JqDdOZb+4f+Y="; 25 }; 26 27 postPatch = '' 28 substituteInPlace setup.py \ 29 --replace "humanize>=0.5.1,<0.6" "humanize>=0.5.1" 30 ''; 31 32 buildInputs = [ 33 matrix-synapse-unwrapped 34 ]; 35 36 propagatedBuildInputs = [ 37 boto3 38 humanize 39 tqdm 40 twisted 41 psycopg2 42 ] 43 # For the s3_media_upload script 44 ++ matrix-synapse-unwrapped.propagatedBuildInputs; 45 46 # Tests need network access 47 doCheck = false; 48 49 pythonImportsCheck = [ 50 "s3_storage_provider" 51 ]; 52 53 meta = with lib; { 54 description = "Synapse storage provider to fetch and store media in Amazon S3"; 55 homepage = "https://github.com/matrix-org/synapse-s3-storage-provider"; 56 changelog = "https://github.com/matrix-org/synapse-s3-storage-provider/releases/tag/v${version}"; 57 license = licenses.asl20; 58 maintainers = with maintainers; [ yuka ]; 59 }; 60}