3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/matrix-nio/default.nix
Symphorien Gibol 8589af0a55 python3Packages.matrix-nio: use matrix-nio as pname
fixes the confusion of https://repology.org/project/python:nio/versions
and anyway nio just means that no io is performed directly, so the
matrix part of the name is important.
2020-06-04 23:12:57 +02:00

62 lines
994 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, git
, attrs
, future
, aiohttp
, aiofiles
, h11
, h2
, Logbook
, jsonschema
, unpaddedbase64
, pycryptodome
, python-olm
, peewee
, cachetools
, atomicwrites
}:
buildPythonPackage rec {
pname = "matrix-nio";
version = "0.10.0";
src = fetchFromGitHub {
owner = "poljar";
repo = "matrix-nio";
rev = version;
sha256 = "04ryf9lrm0820hqij46hav6mgplabnyl9dfj46iwvxasn06fh2j8";
};
nativeBuildInputs = [
git
];
propagatedBuildInputs = [
attrs
future
aiohttp
aiofiles
h11
h2
Logbook
jsonschema
unpaddedbase64
pycryptodome
python-olm
peewee
cachetools
atomicwrites
];
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;
maintainers = with maintainers; [ tilpner emily symphorien ];
};
}