python3Packages.matrix-nio: 0.6 -> 0.7.1

This commit is contained in:
Emily 2020-02-10 00:26:32 +00:00 committed by Frederik Rietdijk
parent 46db47e5f7
commit ab0b90ec50

View File

@ -1,23 +1,34 @@
{ lib, buildPythonPackage, fetchFromGitHub, git, { lib
attrs, future, peewee, h11, h2, atomicwrites, pycryptodome, sphinx, Logbook, jsonschema, , buildPythonPackage
python-olm, unpaddedbase64, aiohttp, cachetools }: , fetchFromGitHub
, git
, attrs
, future
, aiohttp
, aiofiles
, h11
, h2
, Logbook
, jsonschema
, unpaddedbase64
, pycryptodome
, python-olm
, peewee
, cachetools
, atomicwrites
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "nio"; pname = "nio";
version = "0.6"; version = "0.7.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "poljar"; owner = "poljar";
repo = "matrix-nio"; repo = "matrix-nio";
rev = version; rev = version;
sha256 = "0pq5i6ks3pck2kq9m4p3pw9hbvkzs27xkyv68mjnfc6chp2g2mg9"; sha256 = "05cggfhsfa0irvzc7x3fndv6n0zszxxhmlv89r5rkrl5wvrhbb2h";
}; };
postPatch = ''
substituteInPlace setup.py \
--replace 'python-olm>=3.1.0' ""
'';
nativeBuildInputs = [ nativeBuildInputs = [
git git
]; ];
@ -25,18 +36,18 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
attrs attrs
future future
peewee aiohttp
aiofiles
h11 h11
h2 h2
atomicwrites
pycryptodome
sphinx
Logbook Logbook
jsonschema jsonschema
python-olm
unpaddedbase64 unpaddedbase64
aiohttp pycryptodome
python-olm
peewee
cachetools cachetools
atomicwrites
]; ];
doCheck = false; doCheck = false;
@ -45,6 +56,6 @@ buildPythonPackage rec {
description = "A Python Matrix client library, designed according to sans I/O principles"; description = "A Python Matrix client library, designed according to sans I/O principles";
homepage = "https://github.com/poljar/matrix-nio"; homepage = "https://github.com/poljar/matrix-nio";
license = licenses.isc; license = licenses.isc;
maintainers = [ maintainers.tilpner ]; maintainers = with maintainers; [ tilpner emily ];
}; };
} }