nixpkgs/pkgs/development/python-modules/matrix-nio/default.nix
2020-03-17 15:54:33 -07:00

62 lines
975 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, git
, attrs
, future
, aiohttp
, aiofiles
, h11
, h2
, Logbook
, jsonschema
, unpaddedbase64
, pycryptodome
, python-olm
, peewee
, cachetools
, atomicwrites
}:
buildPythonPackage rec {
pname = "nio";
version = "0.9.0";
src = fetchFromGitHub {
owner = "poljar";
repo = "matrix-nio";
rev = version;
sha256 = "0gqhk9d06w1in6dj7aqy45skzyg8018nmclqd5r0m5nnw8yns6gz";
};
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 ];
};
}