at master 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonRelaxDepsHook, 6 pytestCheckHook, 7 setuptools, 8 setuptools-scm, 9 fonttools, 10 fontfeatures, 11 ufolib2, 12}: 13 14buildPythonPackage rec { 15 pname = "ufomerge"; 16 version = "1.9.6"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "googlefonts"; 21 repo = "ufomerge"; 22 tag = "v${version}"; 23 hash = "sha256-5nTxcZeBClui7ceeq6sIOaoK8x0L6sBWqmhXr0On4Eg="; 24 }; 25 26 build-system = [ 27 setuptools 28 setuptools-scm 29 ]; 30 31 dependencies = [ 32 fonttools 33 ufolib2 34 ]; 35 36 nativeCheckInputs = [ 37 pytestCheckHook 38 fontfeatures 39 ]; 40 41 disabledTests = [ 42 # Fails with `KeyError: 'B'` 43 "test_28" 44 ]; 45 46 pythonImportsCheck = [ "ufomerge" ]; 47 48 meta = { 49 description = "Command line utility and Python library that merges two UFO source format fonts into a single file"; 50 homepage = "https://github.com/googlefonts/ufomerge"; 51 changelog = "https://github.com/googlefonts/ufomerge/releases/tag/${src.tag}"; 52 license = lib.licenses.asl20; 53 maintainers = with lib.maintainers; [ jopejoe1 ]; 54 }; 55}