1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-21 17:01:10 +03:00
nixpkgs/pkgs/development/python-modules/tweepy/default.nix

50 lines
816 B
Nix
Raw Normal View History

2021-11-12 23:38:28 +01:00
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, oauthlib
, requests
, pythonOlder
, vcrpy
, pytestCheckHook
, requests_oauthlib
}:
2018-04-26 08:46:54 +02:00
buildPythonPackage rec {
pname = "tweepy";
version = "4.5.0";
2021-11-12 23:38:28 +01:00
format = "setuptools";
2018-04-26 08:46:54 +02:00
2021-11-12 23:38:28 +01:00
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "sha256-mRpYPuj2B/kEaaeZlNYYnViGxWiK1xtWfDObHNduIK8=";
};
2021-11-12 23:38:28 +01:00
propagatedBuildInputs = [
aiohttp
oauthlib
requests
requests_oauthlib
];
checkInputs = [
pytestCheckHook
vcrpy
];
pythonImportsCheck = [
"tweepy"
];
2018-04-26 08:46:54 +02:00
meta = with lib; {
homepage = "https://github.com/tweepy/tweepy";
2021-11-12 23:38:28 +01:00
description = "Twitter library for Python";
2018-04-26 08:46:54 +02:00
license = licenses.mit;
maintainers = with maintainers; [ ];
2018-04-26 08:46:54 +02:00
};
}