blob: b5d02b034b27c7b4dad2217bed3e407784c1a6c7 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
hatchling,
cachetools,
pandas,
requests,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "world-bank-data";
version = "0.1.4";
pyproject = true;
src = fetchPypi {
pname = "world_bank_data";
inherit version;
hash = "sha256-UidtJovurzrZKWeI7n1bV0vluc5pSg92zKFELvZE9fw=";
};
build-system = [
hatchling
];
dependencies = [
cachetools
pandas
requests
];
# Tests require a HTTP connection
doCheck = false;
pythonImportsCheck = [
"world_bank_data"
];
meta = {
description = "World Bank Data API in Python";
homepage = "https://github.com/mwouts/world_bank_data";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ itepastra ];
};
}
|