634fe97655
GitOrigin-RevId: 09c38c29f2c719cd76ca17a596c2fdac9e186ceb
51 lines
1 KiB
Nix
51 lines
1 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, selenium
|
|
, six
|
|
, flask
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "splinter";
|
|
version = "0.15.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cobrateam";
|
|
repo = "splinter";
|
|
rev = version;
|
|
sha256 = "sha256-y87Cnci4gJHrttThGPeOS/h6VK8x95cQA9nZs1fBfAw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
selenium
|
|
six
|
|
];
|
|
|
|
checkInputs = [
|
|
flask
|
|
pytestCheckHook
|
|
];
|
|
|
|
disabledTestPaths = [
|
|
"samples"
|
|
"tests/test_djangoclient.py"
|
|
"tests/test_flaskclient.py"
|
|
"tests/test_popups.py"
|
|
"tests/test_webdriver.py"
|
|
"tests/test_webdriver_chrome.py"
|
|
"tests/test_webdriver_firefox.py"
|
|
"tests/test_webdriver_remote.py"
|
|
"tests/test_zopetestbrowser.py"
|
|
];
|
|
|
|
pythonImportsCheck = [ "splinter" ];
|
|
|
|
meta = with lib; {
|
|
description = "Browser abstraction for web acceptance testing";
|
|
homepage = "https://github.com/cobrateam/splinter";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|