nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 36 lines 796 B view raw
1{ lib, buildPythonPackage, fetchPypi, aiohttp, future-fstrings, pythonOlder 2, sqlalchemy, ruamel_yaml, CommonMark, lxml, fetchpatch 3}: 4 5buildPythonPackage rec { 6 pname = "mautrix"; 7 version = "0.4.2"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "0f8pzi7ip82p7hn6d9xrgp5wsl4s3w6gmjsgb8gjy2606f7czqyg"; 12 }; 13 14 propagatedBuildInputs = [ 15 aiohttp 16 future-fstrings 17 18 # defined in optional-requirements.txt 19 sqlalchemy 20 ruamel_yaml 21 CommonMark 22 lxml 23 ]; 24 25 disabled = pythonOlder "3.5"; 26 27 # no tests available 28 doCheck = false; 29 30 meta = with lib; { 31 homepage = https://github.com/tulir/mautrix-python; 32 description = "A Python 3 asyncio Matrix framework."; 33 license = licenses.mpl20; 34 maintainers = with maintainers; [ nyanloutre ma27 ]; 35 }; 36}