mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
26 lines
723 B
Nix
26 lines
723 B
Nix
{ stdenv, buildPythonPackage, fetchFromGitHub
|
|
, pyjwt, pysocks, pytz, requests, six, nose, mock }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "twilio";
|
|
version = "6.35.1";
|
|
# tests not included in PyPi, so fetch from github instead
|
|
src = fetchFromGitHub {
|
|
owner = "twilio";
|
|
repo = "twilio-python";
|
|
rev = version;
|
|
sha256 = "10a1hqvxn0w6z696ay1bbxra6qn8bxg87d6g9iryd2hjnn8sfh4b";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|