My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/twilio/default.nix

49 lines
803 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pyjwt
, pytz
, requests
, mock
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "twilio";
version = "7.8.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "twilio";
repo = "twilio-python";
rev = "refs/tags/${version}";
sha256 = "sha256-r28iKUv+i8D6JLvsJA7x8T2KFzK26limIwqsXC5jjSE=";
};
propagatedBuildInputs = [
pyjwt
pytz
requests
];
checkInputs = [
mock
pytestCheckHook
];
pythonImportsCheck = [
"twilio"
];
meta = with lib; {
description = "Twilio API client and TwiML generator";
homepage = "https://github.com/twilio/twilio-python/";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}