python.pkgs.tweepy: move expression
This commit is contained in:
parent
df7efec995
commit
e04a4d3c9e
21
pkgs/development/python-modules/tweepy/default.nix
Normal file
21
pkgs/development/python-modules/tweepy/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -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}";
|
||||||
|
Loading…
Reference in New Issue
Block a user