python3Packages.mwtypes: init at 0.3.2

This commit is contained in:
Gaetan Lepage 2023-07-07 19:43:54 +02:00
parent a810046327
commit 3bdf99746b
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, jsonable
, pytestCheckHook
, nose
}:
buildPythonPackage rec {
pname = "mwtypes";
version = "0.3.2";
src = fetchPypi {
inherit pname version;
hash = "sha256-3BF2xZZWKcEj6FmzGa5hUdTjhVMemngWBMDUyjQ045k=";
};
propagatedBuildInputs = [ jsonable ];
nativeCheckInputs = [ pytestCheckHook ];
checkInputs = [ nose ];
disabledTests = [
"test_normalize_path_bad_extension"
"test_open_file"
];
pythonImportsCheck = [ "mwtypes" ];
meta = with lib; {
description = "A set of classes for working with MediaWiki data types.";
homepage = "https://github.com/mediawiki-utilities/python-mwtypes";
license = licenses.mit;
maintainers = with maintainers; [ GaetanLepage ];
};
}

View File

@ -6726,6 +6726,8 @@ self: super: with self; {
mwparserfromhell = callPackage ../development/python-modules/mwparserfromhell { };
mwtypes = callPackage ../development/python-modules/mwtypes { };
mxnet = callPackage ../development/python-modules/mxnet { };
myfitnesspal = callPackage ../development/python-modules/myfitnesspal { };