python3Packages.hass-nabucasa: relax cryptography constraint

This commit is contained in:
Martin Weinelt
2021-10-10 12:09:49 +02:00
parent 330fe9138d
commit ebcf6f1912

View File

@@ -24,6 +24,13 @@ buildPythonPackage rec {
sha256 = "sha256-0E8eiHzqbxHbtAd97MbvFMRDWTu25E9x/44oNGC4mUM=";
};
postPatch = ''
sed -i 's/"acme.*"/"acme"/' setup.py
substituteInPlace setup.py \
--replace "cryptography>=2.8,<4.0" "cryptography" \
--replace "snitun==" "snitun>="
'';
propagatedBuildInputs = [
acme
aiohttp
@@ -40,12 +47,6 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
sed -i 's/"acme.*"/"acme"/' setup.py
substituteInPlace setup.py \
--replace "snitun==" "snitun>="
'';
pythonImportsCheck = [ "hass_nabucasa" ];
meta = with lib; {