1{ lib
2, buildPythonPackage
3, flake8
4, nose2
5, mock
6, requests
7, pyjwt
8, fetchPypi
9}:
10
11buildPythonPackage rec {
12 pname = "globus-sdk";
13 version = "1.5.0";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "f3ee8294c11f0d1a4430ae7534236c6a6837312f1b4056adbb183a3af663d2be";
18 };
19
20 checkPhase = ''
21 py.test tests
22 '';
23
24 # No tests in archive
25 doCheck = false;
26
27 checkInputs = [ flake8 nose2 mock ];
28
29 propagatedBuildInputs = [ requests pyjwt ];
30
31 meta = with lib; {
32 description = "A convenient Pythonic interface to Globus REST APIs, including the Transfer API and the Globus Auth API.";
33 homepage = https://github.com/globus/globus-sdk-python;
34 license = licenses.asl20;
35 maintainers = with maintainers; [ ixxie ];
36 };
37}