Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / globus-sdk / default.nix
blob0c2d74a90e111a7ea8a3e550fff36796d6e44c8f
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , requests
5 , pyjwt
6 , pytestCheckHook
7 , responses
8 }:
10 buildPythonPackage rec {
11   pname = "globus-sdk";
12   version = "2.0.1";
14   src = fetchFromGitHub {
15     owner = "globus";
16     repo = "globus-sdk-python";
17     rev = version;
18     sha256 = "1kqnr50iwcq9nx40lblbqzf327cdcbkrir6vh70067hk33rq0gm9";
19   };
21   propagatedBuildInputs = [
22     requests
23     pyjwt
24   ];
26   checkInputs = [
27     pytestCheckHook
28     responses
29   ];
31   pythonImportsCheck = [ "globus_sdk" ];
33   meta = with lib; {
34     description = "A convenient Pythonic interface to Globus REST APIs, including the Transfer API and the Globus Auth API";
35     homepage =  "https://github.com/globus/globus-sdk-python";
36     license = licenses.asl20;
37     maintainers = with maintainers; [ ixxie ];
38   };