diff --git a/hosts/giggles/aioairctrl.nix b/hosts/giggles/aioairctrl.nix index 5e074aab..f4074eb3 100644 --- a/hosts/giggles/aioairctrl.nix +++ b/hosts/giggles/aioairctrl.nix @@ -12,13 +12,16 @@ in python311.pkgs.buildPythonPackage rec { pname = "aioairctrl"; version = "0.2.4"; - src = pkgs.fetchPypi { - inherit pname version; - sha256 = "BIJWwMQq3QQjhyO0TSw+C6muyr3Oyv6UHr/Y3iYqRUM="; + + src = pkgs.fetchFromGitHub { + owner = "kongo09"; + repo = "aioairctrl"; + rev = "v${version}"; + sha256 = "JBXh590wu85ig+LZCgG9S7y9uLOKednFJ/1UfDLz5Fo="; }; - propagatedBuildInputs = with python311.pkgs; [ - aiocoap + propagatedBuildInputs = [ + python311.pkgs.aiocoap pycryptodomex ]; }