at master 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 setuptools-scm, 7 pillow, 8 pypdfium2, 9 pytest-cov-stub, 10 pytestCheckHook, 11}: 12 13buildPythonPackage rec { 14 pname = "zebrafy"; 15 version = "1.2.2"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "miikanissi"; 20 repo = "zebrafy"; 21 tag = version; 22 hash = "sha256-B8jrFQh5swDMfYjdMcY0Hh2VAzknDwarDKVAML6F2r4="; 23 }; 24 25 build-system = [ 26 setuptools 27 setuptools-scm 28 ]; 29 30 dependencies = [ 31 pillow 32 pypdfium2 33 ]; 34 35 pythonImportsCheck = [ "zebrafy" ]; 36 37 nativeCheckInputs = [ 38 pytestCheckHook 39 pytest-cov-stub 40 ]; 41 42 meta = { 43 description = "Python library for converting PDF and images to and from Zebra Programming Language"; 44 downloadPage = "https://github.com/miikanissi/zebrafy"; 45 changelog = "https://github.com/miikanissi/zebrafy/releases/tag/${version}"; 46 homepage = "https://zebrafy.readthedocs.io/en/latest/"; 47 license = lib.licenses.lgpl3Plus; 48 maintainers = with lib.maintainers; [ ethancedwards8 ]; 49 }; 50}