1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, selenium 5, six 6, flask 7, pytestCheckHook 8}: 9 10buildPythonPackage rec { 11 pname = "splinter"; 12 version = "0.16.0"; 13 14 src = fetchFromGitHub { 15 owner = "cobrateam"; 16 repo = "splinter"; 17 rev = version; 18 sha256 = "sha256-b6zncEAPtKgBPLFRsCSGeBqiD4A/mHEhjQaEIsefc28="; 19 }; 20 21 propagatedBuildInputs = [ 22 selenium 23 six 24 ]; 25 26 checkInputs = [ 27 flask 28 pytestCheckHook 29 ]; 30 31 disabledTestPaths = [ 32 "samples" 33 "tests/test_djangoclient.py" 34 "tests/test_flaskclient.py" 35 "tests/test_popups.py" 36 "tests/test_webdriver.py" 37 "tests/test_webdriver_chrome.py" 38 "tests/test_webdriver_edge_chromium.py" 39 "tests/test_webdriver_firefox.py" 40 "tests/test_webdriver_remote.py" 41 "tests/test_zopetestbrowser.py" 42 ]; 43 44 pythonImportsCheck = [ "splinter" ]; 45 46 meta = with lib; { 47 description = "Browser abstraction for web acceptance testing"; 48 homepage = "https://github.com/cobrateam/splinter"; 49 license = licenses.bsd3; 50 maintainers = with maintainers; [ dotlambda ]; 51 }; 52}