python3Packages.mwxml: init at 0.3.3
This commit is contained in:
parent
3bdf99746b
commit
7a99f315db
42
pkgs/development/python-modules/mwxml/default.nix
Normal file
42
pkgs/development/python-modules/mwxml/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue