6 , matrix-synapse-unwrapped
13 buildPythonPackage rec {
14 pname = "matrix-synapse-s3-storage-provider";
16 format = "setuptools";
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
22 repo = "synapse-s3-storage-provider";
23 rev = "refs/tags/v${version}";
24 hash = "sha256-Nv8NkzOcUDX17N7Lyx/NT1vXztiRNaTYIAWNPHxgxJ4=";
28 substituteInPlace setup.py \
29 --replace "humanize>=0.5.1,<0.6" "humanize>=0.5.1"
33 matrix-synapse-unwrapped
36 propagatedBuildInputs = [
43 # For the s3_media_upload script
44 ++ matrix-synapse-unwrapped.propagatedBuildInputs;
46 # Tests need network access
49 pythonImportsCheck = [
54 description = "Synapse storage provider to fetch and store media in Amazon S3";
55 mainProgram = "s3_media_upload";
56 homepage = "https://github.com/matrix-org/synapse-s3-storage-provider";
57 changelog = "https://github.com/matrix-org/synapse-s3-storage-provider/releases/tag/v${version}";
58 license = licenses.asl20;