python3Packages.hass-nabucasa: allow later snitun releases
This commit is contained in:
parent
8f34dc4057
commit
96af64292a
1 changed files with 7 additions and 5 deletions
|
@ -24,10 +24,6 @@ buildPythonPackage rec {
|
||||||
sha256 = "sha256-eQdbAQRKqnJGxnSTkk3gld9TX9MpP3J8LFNYH6peVIY=";
|
sha256 = "sha256-eQdbAQRKqnJGxnSTkk3gld9TX9MpP3J8LFNYH6peVIY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
sed -i 's/"acme.*"/"acme"/' setup.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
acme
|
acme
|
||||||
aiohttp
|
aiohttp
|
||||||
|
@ -44,11 +40,17 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i 's/"acme.*"/"acme"/' setup.py
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "snitun==" "snitun>="
|
||||||
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [ "hass_nabucasa" ];
|
pythonImportsCheck = [ "hass_nabucasa" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/NabuCasa/hass-nabucasa";
|
homepage = "https://github.com/NabuCasa/hass-nabucasa";
|
||||||
description = "Home Assistant cloud integration by Nabu Casa, inc.";
|
description = "Python module for the Home Assistant cloud integration";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
maintainers = with maintainers; [ Scriptkiddi ];
|
maintainers = with maintainers; [ Scriptkiddi ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue