Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 httpx, 6 lxml, 7 pyparsing, 8 pytestCheckHook, 9 pythonOlder, 10 quixote, 11 setuptools, 12}: 13 14buildPythonPackage rec { 15 pname = "twill"; 16 version = "3.2.5"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.8"; 20 21 src = fetchPypi { 22 inherit pname version; 23 hash = "sha256-/WIcM/zQ2UjGlGiJRYg9iTCQayzisxGBa5P0/2FDK2Q="; 24 }; 25 26 pythonRelaxDeps = [ "lxml" ]; 27 28 build-system = [ setuptools ]; 29 30 31 dependencies = [ 32 httpx 33 lxml 34 pyparsing 35 ]; 36 37 nativeCheckInputs = [ 38 pytestCheckHook 39 quixote 40 ]; 41 42 disabledTestPaths = [ 43 # pytidylib is abandoned 44 "tests/test_tidy.py" 45 ]; 46 47 pythonImportsCheck = [ "twill" ]; 48 49 meta = with lib; { 50 description = "Simple scripting language for Web browsing"; 51 homepage = "https://twill-tools.github.io/twill/"; 52 changelog = "https://github.com/twill-tools/twill/releases/tag/v${version}"; 53 license = licenses.mit; 54 maintainers = with maintainers; [ mic92 ]; 55 }; 56}