My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/tweepy/default.nix

51 lines
851 B

{ lib
, aiohttp
, async-lru
, buildPythonPackage
, fetchFromGitHub
, oauthlib
, pytestCheckHook
, pythonOlder
, requests
, requests-oauthlib
, vcrpy
}:
buildPythonPackage rec {
pname = "tweepy";
version = "4.10.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-D/cArsGzWr+rCC9iW9qOfc5fT7UKZDupeR/rQMNK5I4=";
};
propagatedBuildInputs = [
aiohttp
async-lru
oauthlib
requests
requests-oauthlib
];
checkInputs = [
pytestCheckHook
vcrpy
];
pythonImportsCheck = [
"tweepy"
];
meta = with lib; {
description = "Twitter library for Python";
homepage = "https://github.com/tweepy/tweepy";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}