Files
nixpkgs/pkgs/development/python-modules/tuya-device-sharing-sdk/default.nix
T
Jamie Magee 4d3a18dfed python3Packages.tuya-device-sharing-sdk: 0.2.9 -> 0.2.8
Downgrade to match the version pinned by home-assistant 2026.3.3
in its manifest.json.
2026-03-29 14:21:04 -07:00

43 lines
903 B
Nix

{
lib,
buildPythonPackage,
cryptography,
fetchFromGitHub,
paho-mqtt,
requests,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "tuya-device-sharing-sdk";
version = "0.2.8";
pyproject = true;
src = fetchFromGitHub {
owner = "tuya";
repo = "tuya-device-sharing-sdk";
tag = finalAttrs.version;
hash = "sha256-uD2Lzs08i/01iEksXpYRGB2lU7I15sQrJLfJZ93+oeY=";
};
build-system = [ setuptools ];
dependencies = [
cryptography
paho-mqtt
requests
];
doCheck = false; # no tests
pythonImportsCheck = [ "tuya_sharing" ];
meta = {
description = "Tuya Device Sharing SDK";
homepage = "https://github.com/tuya/tuya-device-sharing-sdk";
changelog = "https://github.com/tuya/tuya-device-sharing-sdk/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ aciceri ];
};
})