2020-02-10 00:26:32 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, git
|
|
|
|
, attrs
|
|
|
|
, future
|
|
|
|
, aiohttp
|
|
|
|
, aiofiles
|
|
|
|
, h11
|
|
|
|
, h2
|
|
|
|
, Logbook
|
|
|
|
, jsonschema
|
|
|
|
, unpaddedbase64
|
|
|
|
, pycryptodome
|
|
|
|
, python-olm
|
|
|
|
, peewee
|
|
|
|
, cachetools
|
|
|
|
, atomicwrites
|
|
|
|
}:
|
2019-11-15 14:20:03 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-05-10 13:00:00 +01:00
|
|
|
pname = "matrix-nio";
|
2020-10-31 12:00:00 +00:00
|
|
|
version = "0.15.2";
|
2019-11-15 14:20:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "poljar";
|
|
|
|
repo = "matrix-nio";
|
|
|
|
rev = version;
|
2020-10-31 12:00:00 +00:00
|
|
|
sha256 = "190xw3cvk4amr9pl8ip2i7k3xdjd0231kn2zl6chny5axx22p1dv";
|
2019-11-15 14:20:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
git
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
attrs
|
|
|
|
future
|
2020-02-10 00:26:32 +00:00
|
|
|
aiohttp
|
|
|
|
aiofiles
|
2019-11-15 14:20:03 +00:00
|
|
|
h11
|
|
|
|
h2
|
|
|
|
Logbook
|
|
|
|
jsonschema
|
|
|
|
unpaddedbase64
|
2020-02-10 00:26:32 +00:00
|
|
|
pycryptodome
|
|
|
|
python-olm
|
|
|
|
peewee
|
2019-12-01 02:36:35 +00:00
|
|
|
cachetools
|
2020-02-10 00:26:32 +00:00
|
|
|
atomicwrites
|
2019-11-15 14:20:03 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A Python Matrix client library, designed according to sans I/O principles";
|
|
|
|
homepage = "https://github.com/poljar/matrix-nio";
|
|
|
|
license = licenses.isc;
|
2020-04-21 13:00:00 +01:00
|
|
|
maintainers = with maintainers; [ tilpner emily symphorien ];
|
2019-11-15 14:20:03 +00:00
|
|
|
};
|
|
|
|
}
|