Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / twitter / default.nix
blob64ca41f60c2f04590ccb74a601f296a8167c1598
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , setuptools-scm
5 , certifi
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "twitter";
11   version = "1.19.6";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-gN3WmuLuuIMT/u3uoxvxGf1ueVQe5bN6u5xD0jMZThA=";
19   };
21   nativeBuildInputs = [
22     setuptools-scm
23   ];
25   propagatedBuildInputs = [
26     certifi
27   ];
29   doCheck = false;
31   pythonImportsCheck = [
32     "twitter"
33   ];
35   meta = with lib; {
36     description = "Twitter API library";
37     homepage = "https://mike.verdone.ca/twitter/";
38     license = licenses.mit;
39     maintainers = with maintainers; [ thoughtpolice ];
40   };