python.pkgs.tweepy: move expression

wip/yesman
Robert Schütz 6 years ago
parent df7efec995
commit e04a4d3c9e
  1. 21
      pkgs/development/python-modules/tweepy/default.nix
  2. 20
      pkgs/top-level/python-packages.nix

@ -0,0 +1,21 @@
{ lib, buildPythonPackage, fetchPypi, requests, six, requests_oauthlib }:
buildPythonPackage rec {
pname = "tweepy";
version = "3.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "0n2shilamgwhzmvf534xg7f6hrnznbixyl5pw2f5a3f391gwy37h";
};
doCheck = false;
propagatedBuildInputs = [ requests six requests_oauthlib ];
meta = with lib; {
homepage = https://github.com/tweepy/tweepy;
description = "Twitter library for python";
license = licenses.mit;
maintainers = with maintainers; [ garbas ];
};
}

@ -14387,25 +14387,7 @@ in {
TurboCheetah = callPackage ../development/python-modules/TurboCheetah { };
tweepy = buildPythonPackage (rec {
name = "tweepy-3.5.0";
src = pkgs.fetchurl {
url = "mirror://pypi/t/tweepy/${name}.tar.gz";
sha256 = "0n2shilamgwhzmvf534xg7f6hrnznbixyl5pw2f5a3f391gwy37h";
};
doCheck = false;
propagatedBuildInputs = with self; [ requests six requests_oauthlib ];
meta = {
homepage = "https://github.com/tweepy/tweepy";
description = "Twitter library for python";
license = licenses.mit;
maintainers = with maintainers; [ garbas ];
platforms = platforms.linux;
};
});
tweepy = callPackage ../development/python-modules/tweepy { };
twiggy = buildPythonPackage rec {
name = "Twiggy-${version}";

Loading…
Cancel
Save