nixpkgs/pkgs/development/python-modules/pytrends/default.nix
2019-08-05 20:05:08 +02:00

30 lines
558 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, requests
, lxml
, pandas
}:
buildPythonPackage rec {
pname = "pytrends";
version = "4.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "03gnn2mgjvpc7pbcijy7xilrhgjg7x2pp6ci96pdyqnhkqv02d3n";
};
doCheck = false;
propagatedBuildInputs = [ requests lxml pandas ];
meta = with stdenv.lib; {
description = "Pseudo API for Google Trends";
homepage = "https://github.com/GeneralMills/pytrends";
license = [ licenses.asl20 ];
maintainers = [ maintainers.mmahut ];
};
}