Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 40 lines 809 B view raw
1{ 2 lib, 3 fetchPypi, 4 python3Packages, 5 latexminted, 6 testers, 7}: 8 9python3Packages.buildPythonApplication rec { 10 pname = "latexminted"; 11 version = "0.6.0"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-WpYo9Ci3rshuVdsbAv4Hjx8vT2FLRinhNsVrcGoPXyU="; 17 }; 18 19 build-system = with python3Packages; [ 20 setuptools 21 ]; 22 23 dependencies = with python3Packages; [ 24 pygments 25 latex2pydata 26 latexrestricted 27 ]; 28 29 passthru = { 30 tests.version = testers.testVersion { package = latexminted; }; 31 }; 32 33 meta = { 34 description = "Python executable for LaTeX minted package"; 35 homepage = "https://pypi.org/project/latexminted"; 36 license = lib.licenses.lppl13c; 37 mainProgram = "latexminted"; 38 maintainers = with lib.maintainers; [ romildo ]; 39 }; 40}