at master 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 6 # build-system 7 setuptools, 8 9 # dependencies 10 jinja2, 11 pillow, 12 python-pptx, 13 typst, 14}: 15 16buildPythonPackage rec { 17 pname = "touying"; 18 version = "0.13.2"; 19 pyproject = true; 20 21 src = fetchFromGitHub { 22 owner = "touying-typ"; 23 repo = "touying-exporter"; 24 tag = version; 25 hash = "sha256-gcr3KS2Qm8CMA+8AeC0hbGi9Gjj5sMr6gJkuoZWUEGY="; 26 }; 27 28 build-system = [ 29 setuptools 30 ]; 31 32 pythonRemoveDeps = [ 33 "argparse" 34 ]; 35 dependencies = [ 36 jinja2 37 pillow 38 python-pptx 39 typst 40 ]; 41 42 pythonImportsCheck = [ "touying" ]; 43 44 # no tests 45 doCheck = false; 46 47 meta = { 48 description = "Export presentation slides in various formats for Touying"; 49 changelog = "https://github.com/touying-typ/touying-exporter/releases/tag/${version}"; 50 homepage = "https://github.com/touying-typ/touying-exporter"; 51 license = lib.licenses.mit; 52 maintainers = with lib.maintainers; [ GaetanLepage ]; 53 mainProgram = "touying"; 54 }; 55}