1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/matrix-nio/default.nix

62 lines
994 B
Nix
Raw Normal View History

{ 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.14.1";
src = fetchFromGitHub {
owner = "poljar";
repo = "matrix-nio";
rev = version;
sha256 = "0mgb9m3298jvw3wa051zn7vp1m8qriys3ps0qn3sq54fndljgg5k";
};
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 ];
};
}