Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at master 1.0 kB view raw
1{ 2 lib, 3 fetchFromGitHub, 4 gitUpdater, 5 buildPythonPackage, 6 pytestCheckHook, 7 setuptools, 8 setuptools-scm, 9 fonttools, 10 orjson, 11 typing-extensions, 12 ufonormalizer, 13 ufolib2, 14 defcon, 15}: 16 17buildPythonPackage rec { 18 pname = "vfblib"; 19 version = "0.10.4"; 20 pyproject = true; 21 22 src = fetchFromGitHub { 23 owner = "LucasFonts"; 24 repo = "vfbLib"; 25 tag = "v${version}"; 26 hash = "sha256-fAczRejHDe02iWMWXQzNHLmxRX5ApIPvUzsYnwqrKn8="; 27 }; 28 29 build-system = [ 30 setuptools 31 setuptools-scm 32 ]; 33 34 dependencies = [ 35 fonttools 36 orjson 37 typing-extensions 38 ufonormalizer 39 ufolib2 40 defcon 41 ]; 42 43 nativeCheckInputs = [ pytestCheckHook ]; 44 45 pythonImportsCheck = [ "vfbLib" ]; 46 47 passthru.updateScript = gitUpdater { rev-prefix = "v"; }; 48 49 meta = with lib; { 50 description = "Converter and deserializer for FontLab Studio 5 VFB files"; 51 homepage = "https://github.com/LucasFonts/vfbLib"; 52 license = licenses.gpl3Only; 53 maintainers = with maintainers; [ jopejoe1 ]; 54 }; 55}