Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 642 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, requests 6, lxml 7, pandas 8}: 9 10buildPythonPackage rec { 11 pname = "pytrends"; 12 version = "4.9.0"; 13 disabled = isPy27; # python2 pandas is too old 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-pU/B4xcUQrPI9cCApeId+Ae8T6rXeQzGK33bBZ6wqUs="; 18 }; 19 20 propagatedBuildInputs = [ requests lxml pandas ]; 21 22 doCheck = false; 23 pythonImportsCheck = [ "pytrends" ]; 24 25 meta = with lib; { 26 description = "Pseudo API for Google Trends"; 27 homepage = "https://github.com/GeneralMills/pytrends"; 28 license = [ licenses.asl20 ]; 29 maintainers = [ maintainers.mmahut ]; 30 }; 31 32}