2017-05-21 18:28:30 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2017-09-16 21:44:44 +01:00
|
|
|
, isPy3k
|
2017-05-21 18:28:30 +01:00
|
|
|
, mozprofile
|
|
|
|
, mozversion
|
|
|
|
, moztest
|
|
|
|
, manifestparser
|
|
|
|
, marionette_driver
|
|
|
|
, browsermob-proxy
|
|
|
|
, wptserve
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "marionette-harness";
|
2017-12-30 11:24:27 +00:00
|
|
|
version = "4.3.0";
|
2017-05-21 18:28:30 +01:00
|
|
|
name = "${pname}-${version}";
|
2017-09-16 21:44:44 +01:00
|
|
|
disabled = isPy3k;
|
2017-05-21 18:28:30 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-12-30 11:24:27 +00:00
|
|
|
sha256 = "a98bb65a0c63f60d9e3d7ef21dabc9c29676917dc2ec0d46851a3ed694c820cc";
|
2017-05-21 18:28:30 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ mozprofile mozversion browsermob-proxy moztest
|
|
|
|
wptserve manifestparser marionette_driver ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Mozilla Marionette protocol test automation harness";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette;
|
2017-05-21 18:28:30 +01:00
|
|
|
license = lib.licenses.mpl20;
|
|
|
|
maintainers = with lib.maintainers; [ raskin ];
|
|
|
|
};
|
|
|
|
}
|