nixpkgs/pkgs/development/python-modules/twilio/default.nix
R. RyanTM 94f77d993f python37Packages.twilio: 6.23.0 -> 6.23.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-twilio/versions
2019-01-27 02:17:12 -08:00

26 lines
721 B
Nix

{ stdenv, buildPythonPackage, fetchFromGitHub
, pyjwt, pysocks, pytz, requests, six, nose, mock }:
buildPythonPackage rec {
pname = "twilio";
version = "6.23.1";
# tests not included in PyPi, so fetch from github instead
src = fetchFromGitHub {
owner = "twilio";
repo = "twilio-python";
rev = version;
sha256 = "0f6r2qcgcg4pnnsgf9d1k03ri7h7k8kpasp9mdgv421a4rvqh8lm";
};
buildInputs = [ nose mock ];
propagatedBuildInputs = [ pyjwt pysocks pytz six requests ];
meta = with stdenv.lib; {
description = "Twilio API client and TwiML generator";
homepage = https://github.com/twilio/twilio-python/;
license = licenses.mit;
maintainers = with maintainers; [ flokli ];
};
}