Commit 7a99f315 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python3Packages.mwxml: init at 0.3.3

parent 3bdf9974
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, jsonschema
, mwcli
, mwtypes
, pytestCheckHook
, nose
}:

buildPythonPackage rec {
  pname = "mwxml";
  version = "0.3.3";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-CEjfDPLik3GPVUMRrPRxW9Z59jn05Sy+R9ggZYnbHTE=";
  };

  propagatedBuildInputs = [
    jsonschema
    mwcli
    mwtypes
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  checkInputs = [ nose ];

  disabledTests = [
    "test_page_with_discussion"
  ];

  pythonImportsCheck = [ "mwxml" ];

  meta = with lib; {
    description = "A set of utilities for processing MediaWiki XML dump data";
    homepage = "https://github.com/mediawiki-utilities/python-mwxml";
    license = licenses.mit;
    maintainers = with maintainers; [ GaetanLepage ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -6728,6 +6728,8 @@ self: super: with self; {

  mwtypes = callPackage ../development/python-modules/mwtypes { };

  mwxml = callPackage ../development/python-modules/mwxml { };

  mxnet = callPackage ../development/python-modules/mxnet { };

  myfitnesspal = callPackage ../development/python-modules/myfitnesspal { };