blob: 9603f172bc7602be2ec67dff134e4c09c2ae6a73 (
plain)
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
39
40
41
42
43
44
45
46
47
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
mock,
pytest-cov-stub,
pytestCheckHook,
requests,
requests-oauthlib,
responses,
six,
}:
buildPythonPackage rec {
version = "0.11.0";
pname = "mwclient";
format = "setuptools";
src = fetchFromGitHub {
owner = "mwclient";
repo = "mwclient";
tag = "v${version}";
sha256 = "sha256-qnWVQEG1Ri0z4RYmmG/fxYrlIFFf/6PnP5Dnv0cZb5I=";
};
propagatedBuildInputs = [
requests
requests-oauthlib
six
];
nativeCheckInputs = [
mock
pytest-cov-stub
pytestCheckHook
responses
];
pythonImportsCheck = [ "mwclient" ];
meta = {
description = "Python client library to the MediaWiki API";
license = lib.licenses.mit;
homepage = "https://github.com/mwclient/mwclient";
maintainers = [ ];
};
}
|