python3Packages.twitterapi: init 2.6.6
This commit is contained in:
parent
b8ec6cfdd4
commit
3ce904abb6
34
pkgs/development/python-modules/twitterapi/default.nix
Normal file
34
pkgs/development/python-modules/twitterapi/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, requests
|
||||
, requests_oauthlib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "twitterapi";
|
||||
version = "2.6.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "geduldig";
|
||||
repo = "TwitterAPI";
|
||||
rev = "v${version}";
|
||||
sha256 = "0ib4yggigpkn8rp71j94xyxl20smh3d04xsa9fhyh0mws4ri33j8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
requests_oauthlib
|
||||
];
|
||||
|
||||
# Tests are interacting with the Twitter API
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "TwitterAPI" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python wrapper for Twitter's REST and Streaming APIs";
|
||||
homepage = "https://github.com/geduldig/TwitterAPI";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -8031,6 +8031,8 @@ in {
|
||||
|
||||
twitter-common-options = callPackage ../development/python-modules/twitter-common-options { };
|
||||
|
||||
twitterapi = callPackage ../development/python-modules/twitterapi { };
|
||||
|
||||
twofish = callPackage ../development/python-modules/twofish { };
|
||||
|
||||
txaio = callPackage ../development/python-modules/txaio { };
|
||||
|
Loading…
Reference in New Issue
Block a user