2018-01-20 13:32:04 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, flake8
|
|
|
|
, nose2
|
|
|
|
, mock
|
|
|
|
, requests
|
|
|
|
, pyjwt
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "globus-sdk";
|
2020-03-28 00:23:47 +00:00
|
|
|
version = "1.9.0";
|
2018-01-20 13:32:04 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-03-28 00:23:47 +00:00
|
|
|
sha256 = "1fm0iqfbzd13m1lkd4h3ss4y9isp5cadd2w2k0qr3yqwfmrqqba2";
|
2018-01-20 13:32:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test tests
|
|
|
|
'';
|
|
|
|
|
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
checkInputs = [ flake8 nose2 mock ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests pyjwt ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A convenient Pythonic interface to Globus REST APIs, including the Transfer API and the Globus Auth API.";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/globus/globus-sdk-python";
|
2018-01-20 13:32:04 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ ixxie ];
|
|
|
|
};
|
|
|
|
}
|