Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / mwtypes / default.nix
blob89e693dda89a2267dbe5b3df914f1233c3223012
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , jsonable
5 , nose
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "mwtypes";
11   version = "0.3.2";
13   src = fetchPypi {
14     inherit pname version;
15     hash = "sha256-3BF2xZZWKcEj6FmzGa5hUdTjhVMemngWBMDUyjQ045k=";
16   };
18   propagatedBuildInputs = [ jsonable ];
20   nativeCheckInputs = [
21     nose
22     pytestCheckHook
23   ];
25   disabledTests = [
26     "test_normalize_path_bad_extension"
27     "test_open_file"
28   ];
30   pythonImportsCheck = [ "mwtypes" ];
32   meta = with lib; {
33     description = "A set of classes for working with MediaWiki data types.";
34     homepage = "https://github.com/mediawiki-utilities/python-mwtypes";
35     license = licenses.mit;
36     maintainers = with maintainers; [ GaetanLepage ];
37   };