From bf3d2dbedd2f26157e95775b30e3aa605b84b6dc Mon Sep 17 00:00:00 2001 From: Hendrik Sokolowski Date: Sun, 29 Oct 2023 00:40:33 +0200 Subject: [PATCH] fetch source from github --- hosts/giggles/aioairctrl.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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 ]; }