blob: 9156db165f41862acc254a9b2b87e597a740f311 (
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
|
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, requests
, lxml
, pandas
}:
buildPythonPackage rec {
pname = "pytrends";
version = "4.8.0";
disabled = isPy27; # python2 pandas is too old
src = fetchPypi {
inherit pname version;
sha256 = "sha256-BLezPrbfwSCqictGQGiKi2MzNydrbdzqRP8Mf2tiQ9I=";
};
propagatedBuildInputs = [ requests lxml pandas ];
doCheck = false;
pythonImportsCheck = [ "pytrends" ];
meta = with lib; {
description = "Pseudo API for Google Trends";
homepage = "https://github.com/GeneralMills/pytrends";
license = [ licenses.asl20 ];
maintainers = [ maintainers.mmahut ];
};
}
|