1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 iso8601,
6 requests,
7 setuptools,
8 unstableGitUpdater,
9}:
10
11buildPythonPackage {
12 pname = "clx-sdk-xms";
13 version = "0-unstable-2017-01-23";
14 pyproject = true;
15
16 src = fetchFromGitHub {
17 owner = "clxcommunications";
18 repo = "sdk-xms-python";
19 rev = "8d629cd7bcaf91eaafee265a825e3c52191f1425";
20 hash = "sha256-qMR9OT+QAKZGwDuoZVAtfKD3PQB7rEU/iTRjgACVGBs=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [
26 iso8601
27 requests
28 ];
29
30 pythonImportsCheck = [ "clx.xms" ];
31
32 passthru.updateScript = unstableGitUpdater { };
33
34 meta = {
35 description = "Python SDK for the CLX Communications REST API (XMS) for sending and receiving SMS";
36 homepage = "https://github.com/clxcommunications/sdk-xms-python";
37 license = lib.licenses.asl20;
38 maintainers = [ lib.maintainers.jamiemagee ];
39 };
40}