1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-20 16:39:31 +03:00
nixpkgs/pkgs/development/python-modules/twilio/default.nix

48 lines
765 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, mock
, nose
, pyjwt
2021-10-18 23:41:22 +02:00
, pythonOlder
, pytz
, requests
}:
2017-10-19 09:49:24 +02:00
buildPythonPackage rec {
pname = "twilio";
2022-01-13 16:59:05 -08:00
version = "7.5.0";
2021-12-19 17:16:30 +01:00
format = "setuptools";
2021-10-18 23:41:22 +02:00
disabled = pythonOlder "3.6";
2017-10-19 09:49:24 +02:00
src = fetchFromGitHub {
owner = "twilio";
repo = "twilio-python";
rev = version;
2022-01-13 16:59:05 -08:00
sha256 = "0h6r9nz7dcvagrjhzvnirpnjazcy9r64cwlr2bnmlrbjhwdni9rq";
2017-10-19 09:49:24 +02:00
};
propagatedBuildInputs = [
pyjwt
pytz
requests
];
2017-10-19 09:49:24 +02:00
checkInputs = [
mock
nose
];
2017-10-19 09:49:24 +02:00
2021-10-18 23:41:22 +02:00
pythonImportsCheck = [
"twilio"
];
meta = with lib; {
2017-10-19 09:49:24 +02:00
description = "Twilio API client and TwiML generator";
homepage = "https://github.com/twilio/twilio-python/";
2017-10-19 09:49:24 +02:00
license = licenses.mit;
maintainers = with maintainers; [ ];
2017-10-19 09:49:24 +02:00
};
}