Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at master 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatch-vcs, 6 hatchling, 7 lxml, 8 nox, 9 pytest-docker, 10 pytest-selenium, 11 pytestCheckHook, 12 python-magic, 13 selenium, 14 sphinx, 15}: 16 17buildPythonPackage rec { 18 pname = "zundler"; 19 version = "0.3.0"; 20 pyproject = true; 21 22 src = fetchFromGitHub { 23 owner = "AdrianVollmer"; 24 repo = "Zundler"; 25 tag = version; 26 hash = "sha256-RUzVeJLRB9y6lS0tCkseoFgND1MXT7s2o7vNuUpdRDE="; 27 }; 28 29 build-system = [ 30 hatch-vcs 31 hatchling 32 ]; 33 34 dependencies = [ 35 lxml 36 python-magic 37 sphinx 38 ]; 39 40 nativeCheckInputs = [ 41 nox 42 pytestCheckHook 43 pytest-docker 44 pytest-selenium 45 selenium 46 ]; 47 48 # Tests are container-based 49 doCheck = false; 50 51 pythonImportsCheck = [ "zundler" ]; 52 53 meta = { 54 description = "Bundle assets of distributed HTML docs into one self-contained HTML file"; 55 homepage = "https://github.com/AdrianVollmer/Zundler"; 56 changelog = "https://github.com/AdrianVollmer/Zundler/releases/tag/${src.tag}"; 57 license = lib.licenses.mit; 58 maintainers = with lib.maintainers; [ fab ]; 59 }; 60}