forked from mirrors/nixpkgs
Merge pull request #119020 from dotlambda/splinter-fix
pythonPackages.splinter: fix build
This commit is contained in:
commit
a73020b2a1
|
@ -1,30 +1,50 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, selenium
|
, selenium
|
||||||
|
, six
|
||||||
, flask
|
, flask
|
||||||
, coverage
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "splinter";
|
pname = "splinter";
|
||||||
version = "0.14.0";
|
version = "0.14.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "cobrateam";
|
||||||
sha256 = "459e39e7a9f7572db6f1cdb5fdc5ccfc6404f021dccb969ee6287be2386a40db";
|
repo = "splinter";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0480bqprv8581cvnc80ls91rz9780wvdnfw99zsw44hvy2yg15a6";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ selenium ];
|
propagatedBuildInputs = [
|
||||||
|
selenium
|
||||||
|
six
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [ flask coverage ];
|
checkInputs = [
|
||||||
|
flask
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
# No tests included
|
disabledTestPaths = [
|
||||||
doCheck = false;
|
"samples"
|
||||||
|
"tests/test_djangoclient.py"
|
||||||
|
"tests/test_flaskclient.py"
|
||||||
|
"tests/test_webdriver.py"
|
||||||
|
"tests/test_webdriver_chrome.py"
|
||||||
|
"tests/test_webdriver_firefox.py"
|
||||||
|
"tests/test_webdriver_remote.py"
|
||||||
|
"tests/test_zopetestbrowser.py"
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
pythonImportsCheck = [ "splinter" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
description = "Browser abstraction for web acceptance testing";
|
description = "Browser abstraction for web acceptance testing";
|
||||||
homepage = "https://github.com/cobrateam/splinter";
|
homepage = "https://github.com/cobrateam/splinter";
|
||||||
license = lib.licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ dotlambda ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue