git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.tweepy: 4.0.1 -> 4.3.0
commitbe723e5168cc6e42edef024032080f9de8bd0338 authorFabian Affolter <mail@fabian-affolter.ch> dateFri 12 Nov 2021, 23:38 (5 years ago) parenta97f20e
1 file changed+36−8
pkgs/development/python-modules/tweepy/default.nix+36−8
pkgs/development/python-modules/tweepy/default.nix+36−8
@@ -1,20 +1,48 @@
1−{ lib, buildPythonPackage, fetchPypi, requests, six, requests_oauthlib }:
1+{ lib
2+, aiohttp
3+, buildPythonPackage
4+, fetchFromGitHub
5+, oauthlib
6+, requests
7+, pythonOlder
8+, vcrpy
9+, pytestCheckHook
10+, requests_oauthlib
11+}:
212
313buildPythonPackage rec {
414 pname = "tweepy";
5− version = "4.0.1";
15+ version = "4.3.0";
16+ format = "setuptools";
617
7− src = fetchPypi {
8− inherit pname version;
9− sha256 = "3bbb14a0ddef1ca8c9e8686ab2f647163afa02a6bab83507335ce647e9653a90";
18+ disabled = pythonOlder "3.6";
19+
20+ src = fetchFromGitHub {
21+ owner = pname;
22+ repo = pname;
23+ rev = "v${version}";
24+ sha256 = "sha256-lS/98DRpJH1UGGNzwqVVUJOeul+BX+I3e+ysmC0oL3I=";
1025 };
1126
12− doCheck = false;
13− propagatedBuildInputs = [ requests six requests_oauthlib ];
27+ propagatedBuildInputs = [
28+ aiohttp
29+ oauthlib
30+ requests
31+ requests_oauthlib
32+ ];
33+
34+ checkInputs = [
35+ pytestCheckHook
36+ vcrpy
37+ ];
38+
39+ pythonImportsCheck = [
40+ "tweepy"
41+ ];
1442
1543 meta = with lib; {
1644 homepage = "https://github.com/tweepy/tweepy";
17− description = "Twitter library for python";
45+ description = "Twitter library for Python";
1846 license = licenses.mit;
1947 maintainers = with maintainers; [ ];
2048 };