b4e89fc316
GitOrigin-RevId: 70088dc29994c32f8520150e34c6e57e8453f895
46 lines
723 B
Nix
46 lines
723 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, mock
|
|
, nose
|
|
, pyjwt
|
|
, pysocks
|
|
, pytz
|
|
, requests
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "twilio";
|
|
version = "7.1.0";
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "twilio";
|
|
repo = "twilio-python";
|
|
rev = version;
|
|
sha256 = "sha256-pagqetDQ8/1xDCxZJVTZc9T0dmFA1opd7tMDR11wlVs=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pyjwt
|
|
pysocks
|
|
pytz
|
|
requests
|
|
six
|
|
];
|
|
|
|
checkInputs = [
|
|
mock
|
|
nose
|
|
];
|
|
|
|
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; [ ];
|
|
};
|
|
}
|