mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
twilio: init at 6.8.0
This commit is contained in:
parent
00e56fbbee
commit
2856891562
27
pkgs/development/python-modules/twilio/default.nix
Normal file
27
pkgs/development/python-modules/twilio/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||
, pyjwt, pysocks, pytz, requests, six, nose, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "twilio";
|
||||
version = "6.8.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
# tests not included in PyPi, so fetch from github instead
|
||||
src = fetchFromGitHub {
|
||||
owner = "twilio";
|
||||
repo = "twilio-python";
|
||||
rev = version;
|
||||
sha256 = "1vi3m6kvbmv643jbz95q59rcn871y0sss48kw2nqziyr5iswfx8c";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -26486,6 +26486,8 @@ EOF
|
||||
|
||||
stripe = callPackage ../development/python-modules/stripe { };
|
||||
|
||||
twilio = callPackage ../development/python-modules/twilio { };
|
||||
|
||||
uranium = callPackage ../development/python-modules/uranium { };
|
||||
|
||||
vine = callPackage ../development/python-modules/vine { };
|
||||
|
Loading…
Reference in New Issue
Block a user