fetch source from github

This commit is contained in:
Hendrik Sokolowski 2023-10-29 00:40:33 +02:00
parent be8bb83ab2
commit bf3d2dbedd

View file

@ -12,13 +12,16 @@ in
python311.pkgs.buildPythonPackage rec { python311.pkgs.buildPythonPackage rec {
pname = "aioairctrl"; pname = "aioairctrl";
version = "0.2.4"; version = "0.2.4";
src = pkgs.fetchPypi {
inherit pname version; src = pkgs.fetchFromGitHub {
sha256 = "BIJWwMQq3QQjhyO0TSw+C6muyr3Oyv6UHr/Y3iYqRUM="; owner = "kongo09";
repo = "aioairctrl";
rev = "v${version}";
sha256 = "JBXh590wu85ig+LZCgG9S7y9uLOKednFJ/1UfDLz5Fo=";
}; };
propagatedBuildInputs = with python311.pkgs; [ propagatedBuildInputs = [
aiocoap python311.pkgs.aiocoap
pycryptodomex pycryptodomex
]; ];
} }