depot/third_party/nixpkgs/pkgs/development/python-modules/twitter/default.nix
Default email 5083ee08a2 Project import generated by Copybara.
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
2022-09-30 06:47:45 -05:00

41 lines
693 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, certifi
, pythonOlder
}:
buildPythonPackage rec {
pname = "twitter";
version = "1.19.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-gN3WmuLuuIMT/u3uoxvxGf1ueVQe5bN6u5xD0jMZThA=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
certifi
];
doCheck = false;
pythonImportsCheck = [
"twitter"
];
meta = with lib; {
description = "Twitter API library";
homepage = "https://mike.verdone.ca/twitter/";
license = licenses.mit;
maintainers = with maintainers; [ thoughtpolice ];
};
}