1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, selenium
5, six
6, flask
7, pytestCheckHook
8}:
9
10buildPythonPackage rec {
11 pname = "splinter";
12 version = "0.14.0";
13
14 src = fetchFromGitHub {
15 owner = "cobrateam";
16 repo = "splinter";
17 rev = version;
18 sha256 = "0480bqprv8581cvnc80ls91rz9780wvdnfw99zsw44hvy2yg15a6";
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_webdriver.py"
36 "tests/test_webdriver_chrome.py"
37 "tests/test_webdriver_firefox.py"
38 "tests/test_webdriver_remote.py"
39 "tests/test_zopetestbrowser.py"
40 ];
41
42 pythonImportsCheck = [ "splinter" ];
43
44 meta = with lib; {
45 description = "Browser abstraction for web acceptance testing";
46 homepage = "https://github.com/cobrateam/splinter";
47 license = licenses.bsd3;
48 maintainers = with maintainers; [ dotlambda ];
49 };
50}