git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.hass-nabucasa: allow later snitun releases
commit96af64292ae353975851cb8fb2370c2ddea6e4a7 authorFabian Affolter <mail@fabian-affolter.ch> dateWed 9 Jun 2021, 09:00 (5 years ago) parent8f34dc4
1 file changed+7−5
pkgs/development/python-modules/hass-nabucasa/default.nix+7−5
pkgs/development/python-modules/hass-nabucasa/default.nix+7−5
@@ -24,10 +24,6 @@ buildPythonPackage rec {
2424 sha256 = "sha256-eQdbAQRKqnJGxnSTkk3gld9TX9MpP3J8LFNYH6peVIY=";
2525 };
2626
27− postPatch = ''
28− sed -i 's/"acme.*"/"acme"/' setup.py
29− '';
30−
3127 propagatedBuildInputs = [
3228 acme
3329 aiohttp
@@ -44,11 +40,17 @@ buildPythonPackage rec {
4440 pytestCheckHook
4541 ];
4642
43+ postPatch = ''
44+ sed -i 's/"acme.*"/"acme"/' setup.py
45+ substituteInPlace setup.py \
46+ --replace "snitun==" "snitun>="
47+ '';
48+
4749 pythonImportsCheck = [ "hass_nabucasa" ];
4850
4951 meta = with lib; {
5052 homepage = "https://github.com/NabuCasa/hass-nabucasa";
51− description = "Home Assistant cloud integration by Nabu Casa, inc.";
53+ description = "Python module for the Home Assistant cloud integration";
5254 license = licenses.gpl3Only;
5355 maintainers = with maintainers; [ Scriptkiddi ];
5456 };