Commit 3bdf9974 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python3Packages.mwtypes: init at 0.3.2

parent a8100463
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };