1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "esphome-glyphsets"; 10 version = "0.2.0"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "esphome"; 15 repo = "esphome-glyphsets"; 16 tag = "v${version}"; 17 hash = "sha256-nM8omtLIWwIY6AGVqVR2/4twmMlOj21+9cSuyXzAAXY="; 18 fetchSubmodules = true; 19 }; 20 21 build-system = [ setuptools ]; 22 23 pythonImportsCheck = [ 24 "esphome_glyphsets" 25 ]; 26 27 meta = { 28 description = "Lightweight version of glyphsets for ESPHome"; 29 homepage = "https://github.com/esphome/esphome-glyphsets"; 30 changelog = "https://github.com/esphome/esphome-glyphsets/blob/${src.tag}/CHANGELOG.md"; 31 license = lib.licenses.asl20; 32 maintainers = with lib.maintainers; [ hexa ]; 33 }; 34}