depot/third_party/nixpkgs/pkgs/development/python-modules/temescal/default.nix

34 lines
683 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
pycryptodome,
}:
buildPythonPackage rec {
pname = "temescal";
version = "0.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-MfTftheNj8zI3iXIIJU+jy9xikvX9eO58LA0NCMJBnY=";
};
propagatedBuildInputs = [ pycryptodome ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "temescal" ];
meta = with lib; {
description = "Module for interacting with LG speaker systems";
homepage = "https://github.com/google/python-temescal";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}