mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 15:15:36 +00:00
ced21f5e1a
The `buildPython*` function computes name from `pname` and `version`. This change removes `name` attribute from all expressions in `pkgs/development/python-modules`. While at it, some other minor changes were made as well, such as replacing `fetchurl` calls with `fetchPypi`.
35 lines
781 B
Nix
35 lines
781 B
Nix
{ lib
|
|
, stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy3k
|
|
, mozprofile
|
|
, mozversion
|
|
, moztest
|
|
, manifestparser
|
|
, marionette_driver
|
|
, browsermob-proxy
|
|
, wptserve
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "marionette-harness";
|
|
version = "4.5.0";
|
|
disabled = isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "241c7f6032d01b0d78f5c0d13ea691935ddce9f8fce991319cc4fe860d61a7c4";
|
|
};
|
|
|
|
propagatedBuildInputs = [ mozprofile mozversion browsermob-proxy moztest
|
|
wptserve manifestparser marionette_driver ];
|
|
|
|
meta = {
|
|
description = "Mozilla Marionette protocol test automation harness";
|
|
homepage = https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette;
|
|
license = lib.licenses.mpl20;
|
|
maintainers = with lib.maintainers; [ raskin ];
|
|
};
|
|
}
|