Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 55 lines 986 B view raw
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 dependencies = [ 31 httpx 32 lxml 33 pyparsing 34 ]; 35 36 nativeCheckInputs = [ 37 pytestCheckHook 38 quixote 39 ]; 40 41 disabledTestPaths = [ 42 # pytidylib is abandoned 43 "tests/test_tidy.py" 44 ]; 45 46 pythonImportsCheck = [ "twill" ]; 47 48 meta = with lib; { 49 description = "Simple scripting language for Web browsing"; 50 homepage = "https://twill-tools.github.io/twill/"; 51 changelog = "https://github.com/twill-tools/twill/releases/tag/v${version}"; 52 license = licenses.mit; 53 maintainers = with maintainers; [ mic92 ]; 54 }; 55}