depot/third_party/nixpkgs/pkgs/development/python-modules/aiobroadlink/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

35 lines
737 B
Nix

{
lib,
buildPythonPackage,
cryptography,
fetchPypi,
pythonOlder,
}:
buildPythonPackage rec {
pname = "aiobroadlink";
version = "0.1.3";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-uTUtDhL9VtWZE+Y6ZJY4prmlE+Yh2UrCg5+eSyAQzMk=";
};
propagatedBuildInputs = [ cryptography ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "aiobroadlink" ];
meta = with lib; {
description = "Python module to control various Broadlink devices";
mainProgram = "aiobroadlink";
homepage = "https://github.com/frawau/aiobroadlink";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}