about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytrends
diff options
context:
space:
mode:
authorMarek Mahut <marek.mahut@gmail.com>2019-08-05 14:55:39 +0200
committerMarek Mahut <marek.mahut@gmail.com>2019-08-05 20:05:08 +0200
commitfd4545f35bcbbeb9a95c5c289aa22f68a9d3ff1f (patch)
treebc17decc1b2dd1b6af332b3c01be92a40bd08f09 /pkgs/development/python-modules/pytrends
parent554b6ea25e7d6e84d2f5f69648a3796829525b80 (diff)
pythonPackages.pytrends: init at 4.6.0
Diffstat (limited to 'pkgs/development/python-modules/pytrends')
-rw-r--r--pkgs/development/python-modules/pytrends/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytrends/default.nix b/pkgs/development/python-modules/pytrends/default.nix
new file mode 100644
index 0000000000000..b3ada6247e3cd
--- /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 ];
+  };
+
+}