python.pkgs.tweepy: move expression

This commit is contained in:
Robert Schütz 2018-04-26 08:46:54 +02:00
parent df7efec995
commit e04a4d3c9e
2 changed files with 22 additions and 19 deletions

View File

@ -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 ];
};
}

View File

@ -14387,25 +14387,7 @@ in {
TurboCheetah = callPackage ../development/python-modules/TurboCheetah { }; TurboCheetah = callPackage ../development/python-modules/TurboCheetah { };
tweepy = buildPythonPackage (rec { tweepy = callPackage ../development/python-modules/tweepy { };
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;
};
});
twiggy = buildPythonPackage rec { twiggy = buildPythonPackage rec {
name = "Twiggy-${version}"; name = "Twiggy-${version}";