Loading pkgs/development/python-modules/tuya-device-sharing-sdk/default.nix +9 −10 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, fetchFromGitHub, setuptools, requests, paho-mqtt, Loading @@ -9,22 +9,21 @@ }: let pname = "tuya-device-sharing-sdk"; version = "0.2.4"; version = "0.2.5"; in buildPythonPackage { inherit pname version; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-4RwsuFg2ukvM0rplCZKJx85DbJTpJnhkCVDnfT4r4A8="; src = fetchFromGitHub { owner = "tuya"; repo = "tuya-device-sharing-sdk"; # no tags on GitHub: https://github.com/tuya/tuya-device-sharing-sdk/issues/2 # no sdist on PyPI: https://github.com/tuya/tuya-device-sharing-sdk/issues/41 rev = "b2156585daefa39fcd2feff964e9be53124697f1"; hash = "sha256-ypAS8tzO4Wyc8pVjSiGaNNl+2fkFNcC3Ftql3l2B8k8="; }; # workaround needed, upstream issue: https://github.com/tuya/tuya-device-sharing-sdk/issues/10 postPatch = '' touch requirements.txt ''; build-system = [ setuptools ]; dependencies = [ Loading Loading
pkgs/development/python-modules/tuya-device-sharing-sdk/default.nix +9 −10 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, fetchFromGitHub, setuptools, requests, paho-mqtt, Loading @@ -9,22 +9,21 @@ }: let pname = "tuya-device-sharing-sdk"; version = "0.2.4"; version = "0.2.5"; in buildPythonPackage { inherit pname version; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-4RwsuFg2ukvM0rplCZKJx85DbJTpJnhkCVDnfT4r4A8="; src = fetchFromGitHub { owner = "tuya"; repo = "tuya-device-sharing-sdk"; # no tags on GitHub: https://github.com/tuya/tuya-device-sharing-sdk/issues/2 # no sdist on PyPI: https://github.com/tuya/tuya-device-sharing-sdk/issues/41 rev = "b2156585daefa39fcd2feff964e9be53124697f1"; hash = "sha256-ypAS8tzO4Wyc8pVjSiGaNNl+2fkFNcC3Ftql3l2B8k8="; }; # workaround needed, upstream issue: https://github.com/tuya/tuya-device-sharing-sdk/issues/10 postPatch = '' touch requirements.txt ''; build-system = [ setuptools ]; dependencies = [ Loading