11 buildPythonPackage rec {
17 inherit version pname;
18 hash = "sha256-PgcGUk/27cAIvzfLvRoVX2vHOCab59m+4bciDPmtlW8=";
22 # https://github.com/mediawiki-utilities/python-mwtypes/pull/6
24 name = "nose-to-pytest.patch";
25 url = "https://github.com/mediawiki-utilities/python-mwtypes/commit/58d7f59e4927aaa6278f84576794df713c673058.patch";
26 hash = "sha256-jh1uEqqhIK2DyNvVN0XYGM7BXTmypnoC4VoB0V+9JmE=";
30 build-system = [ setuptools ];
32 dependencies = [ jsonable ];
34 nativeCheckInputs = [ pytestCheckHook ];
36 # Even with 7z included, this test does not pass
37 disabledTests = [ "test_open_file" ];
39 pythonImportsCheck = [ "mwtypes" ];
42 description = "Set of classes for working with MediaWiki data types";
43 homepage = "https://github.com/mediawiki-utilities/python-mwtypes";
44 license = lib.licenses.mit;
45 maintainers = with lib.maintainers; [ GaetanLepage ];