2018-01-20 13:32:04 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, flake8
|
|
|
|
, nose2
|
|
|
|
, mock
|
|
|
|
, requests
|
|
|
|
, pyjwt
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "globus-sdk";
|
2020-08-29 12:41:48 +01:00
|
|
|
version = "1.9.1";
|
2018-01-20 13:32:04 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-29 12:41:48 +01:00
|
|
|
sha256 = "883a862ddd17b0f4868ec55d6697a64c13d91c41b9fa5103198d2140053abac2";
|
2018-01-20 13:32:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test tests
|
|
|
|
'';
|
|
|
|
|
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
2020-08-25 03:07:09 +01:00
|
|
|
|
2018-01-20 13:32:04 +00:00
|
|
|
checkInputs = [ flake8 nose2 mock ];
|
2020-08-25 03:07:09 +01:00
|
|
|
|
2018-01-20 13:32:04 +00:00
|
|
|
propagatedBuildInputs = [ requests pyjwt ];
|
2020-08-25 03:07:09 +01:00
|
|
|
|
2018-01-20 13:32:04 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|