3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.matrix-nio: 0.18.7 -> 0.19.0

https://github.com/poljar/matrix-nio/blob/0.19.0/CHANGELOG.md#0190---2022-02-04
This commit is contained in:
Martin Weinelt 2022-02-13 18:01:30 +01:00 committed by Jonathan Ringer
parent fff5d485ee
commit a0167e41e3

View file

@ -28,23 +28,21 @@
buildPythonPackage rec {
pname = "matrix-nio";
version = "0.18.7";
version = "0.19.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "poljar";
repo = "matrix-nio";
rev = version;
hash = "sha256-eti9kvfv3y7m+mJzcxftyn8OyVSd2Ehqd3eU2ezMV5Q=";
hash = "sha256-+WZk2m05y/bYj8zSuWTzm+rnCC0L9H9WNQ2RLXv7hDk=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'aiofiles = "^0.6.0"' 'aiofiles = "*"' \
--replace 'jsonschema = "^3.2.0"' 'jsonschema = "*"' \
# Remove after https://github.com/poljar/matrix-nio/pull/288
substituteInPlace pyproject.toml \
--replace 'aiohttp-socks = "^0.6.0"' 'aiohttp-socks = "^0.7.0"'
--replace 'cachetools = { version = "^4.2.1", optional = true }' 'cachetools = { version = "*", optional = true }'
'';
nativeBuildInputs = [