mautrix-facebook: Remove max version requirements.

It appears that these are bumped to match manual testing however they do not work well in nixpkgs as every time a dependency is updated this package breaks. To resolve this issue just strip the max version requirements and assume that it works.

Ideally we would do a semver-type comparison but this is likely not an issue because a new major version would need a new attribute name anyways.
This commit is contained in:
Kevin Cox 2022-01-08 18:31:38 -05:00
parent ff377a7879
commit 7a3e62127d
No known key found for this signature in database
GPG key ID: 9BB92CC1552E99AA

View file

@ -32,6 +32,11 @@ python3.pkgs.buildPythonPackage rec {
yarl
] ++ lib.optional enableSystemd systemd;
postPatch = ''
# Drop version limiting so that every dependency update doesn't break this package.
sed -i -e 's/,<.*//' requirements.txt
'';
doCheck = false;
postInstall = ''