blob: 89e693dda89a2267dbe5b3df914f1233c3223012 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{ lib
, buildPythonPackage
, fetchPypi
, jsonable
, nose
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "mwtypes";
version = "0.3.2";
src = fetchPypi {
inherit pname version;
hash = "sha256-3BF2xZZWKcEj6FmzGa5hUdTjhVMemngWBMDUyjQ045k=";
};
propagatedBuildInputs = [ jsonable ];
nativeCheckInputs = [
nose
pytestCheckHook
];
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 ];
};
}
|