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 {
|
|
|
|
pname = "nio";
|
2020-04-21 13:00:00 +01:00
|
|
|
version = "0.10.0";
|
2019-11-15 14:20:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "poljar";
|
|
|
|
repo = "matrix-nio";
|
|
|
|
rev = version;
|
2020-04-21 13:00:00 +01:00
|
|
|
sha256 = "04ryf9lrm0820hqij46hav6mgplabnyl9dfj46iwvxasn06fh2j8";
|
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-02-10 00:26:32 +00:00
|
|
|
maintainers = with maintainers; [ tilpner emily ];
|
2019-11-15 14:20:03 +00:00
|
|
|
};
|
|
|
|
}
|