hass-nabucasa: relax version bounds
upstreamed in https://github.com/NabuCasa/hass-nabucasa/pull/119, but doesn't appply cleanly
This commit is contained in:
parent
0aa09d3c75
commit
8456f8211b
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, acme, aiohttp, snitun, attrs, pytest-aiohttp, warrant, pytest }:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, acme, aiohttp, snitun, attrs, pytest-aiohttp, warrant, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hass-nabucasa";
|
||||
|
@ -11,6 +11,12 @@ buildPythonPackage rec {
|
|||
sha256 = "182nh5i3hlj0kqkbynk69md0ddq83w02l8lz4m03d8xbjixzi1k1";
|
||||
};
|
||||
|
||||
# upstreamed in https://github.com/NabuCasa/hass-nabucasa/pull/119
|
||||
postPatch = ''
|
||||
sed -i 's/"acme.*/"acme>=0.40.0,<2.0"/' setup.py
|
||||
cat setup.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ acme aiohttp snitun attrs warrant ];
|
||||
|
||||
checkInputs = [ pytest pytest-aiohttp ];
|
||||
|
|
Loading…
Reference in New Issue