python3Packages.mwxml: init at 0.3.3

This commit is contained in:
Gaetan Lepage 2023-07-07 19:55:34 +02:00
parent 3bdf99746b
commit 7a99f315db
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{ 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 ];
};
}

View File

@ -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 { };