Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, git 5, attrs 6, future 7, aiohttp 8, aiofiles 9, h11 10, h2 11, Logbook 12, jsonschema 13, unpaddedbase64 14, pycryptodome 15, python-olm 16, peewee 17, cachetools 18, atomicwrites 19}: 20 21buildPythonPackage rec { 22 pname = "matrix-nio"; 23 version = "0.15.1"; 24 25 src = fetchFromGitHub { 26 owner = "poljar"; 27 repo = "matrix-nio"; 28 rev = version; 29 sha256 = "127n4sqdcip1ld42w9wz49pxkpvi765qzvivvwl26720n11zq5cd"; 30 }; 31 32 nativeBuildInputs = [ 33 git 34 ]; 35 36 propagatedBuildInputs = [ 37 attrs 38 future 39 aiohttp 40 aiofiles 41 h11 42 h2 43 Logbook 44 jsonschema 45 unpaddedbase64 46 pycryptodome 47 python-olm 48 peewee 49 cachetools 50 atomicwrites 51 ]; 52 53 doCheck = false; 54 55 meta = with lib; { 56 description = "A Python Matrix client library, designed according to sans I/O principles"; 57 homepage = "https://github.com/poljar/matrix-nio"; 58 license = licenses.isc; 59 maintainers = with maintainers; [ tilpner emily symphorien ]; 60 }; 61}