Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 50 lines 928 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, aiohttp 5, pythonOlder 6, sqlalchemy 7, ruamel-yaml 8, CommonMark 9, lxml 10, aiosqlite 11}: 12 13buildPythonPackage rec { 14 pname = "mautrix"; 15 version = "0.18.9"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.8"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-Ihaz/izB9L6osu3CPwBWOwLZ2JOLKhsDuqOUf/B02qI="; 23 }; 24 25 propagatedBuildInputs = [ 26 aiohttp 27 28 # defined in optional-requirements.txt 29 sqlalchemy 30 aiosqlite 31 ruamel-yaml 32 CommonMark 33 lxml 34 ]; 35 36 # no tests available 37 doCheck = false; 38 39 pythonImportsCheck = [ 40 "mautrix" 41 ]; 42 43 meta = with lib; { 44 description = "Asyncio Matrix framework"; 45 homepage = "https://github.com/tulir/mautrix-python"; 46 changelog = "https://github.com/mautrix/python/releases/tag/v${version}"; 47 license = licenses.mpl20; 48 maintainers = with maintainers; [ nyanloutre ma27 sumnerevans ]; 49 }; 50}