uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
32
pkgs/development/python-modules/pytrends/default.nix
Normal file
32
pkgs/development/python-modules/pytrends/default.nix
Normal file
|
|
@ -0,0 +1,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 ];
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue