blob: b68fc39bc137c1fc118d13dd0daed7f78a02bbc9 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
{
lib,
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
pandas,
pytestCheckHook,
requests,
requests-mock,
setuptools,
pythonOlder,
}:
buildPythonPackage rec {
pname = "alpha-vantage";
version = "2.3.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "RomelTorres";
repo = "alpha_vantage";
rev = "refs/tags/${version}";
hash = "sha256-DWnaLjnbAHhpe8aGUN7JaXEYC0ivWlizOSAfdvg33DM=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
requests
];
nativeCheckInputs = [
aioresponses
requests-mock
pandas
pytestCheckHook
];
# https://github.com/RomelTorres/alpha_vantage/issues/344
doCheck = false;
pythonImportsCheck = [ "alpha_vantage" ];
meta = with lib; {
description = "Python module for the Alpha Vantage API";
homepage = "https://github.com/RomelTorres/alpha_vantage";
changelog = "https://github.com/RomelTorres/alpha_vantage/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
|