diff --git a/pkgs/development/python-modules/pytrends/default.nix b/pkgs/development/python-modules/pytrends/default.nix new file mode 100644 index 000000000000..b3ada6247e3c --- /dev/null +++ b/pkgs/development/python-modules/pytrends/default.nix @@ -0,0 +1,29 @@ +{ 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 ]; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0896322e5105..cdfb9db05b99 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1063,6 +1063,8 @@ in { pytricia = callPackage ../development/python-modules/pytricia { }; + pytrends = callPackage ../development/python-modules/pytrends { }; + py-vapid = callPackage ../development/python-modules/py-vapid { }; PyWebDAV = callPackage ../development/python-modules/pywebdav { };