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