1{ lib 2, buildPythonPackage 3, click 4, fetchFromGitHub 5, mock 6, prompt-toolkit 7, ptable 8, pygments 9, pytestCheckHook 10, pythonOlder 11, requests 12, sphinx 13, testtools 14, tkinter 15, urllib3 16}: 17 18buildPythonPackage rec { 19 pname = "softlayer"; 20 version = "5.9.7"; 21 disabled = pythonOlder "3.5"; 22 23 src = fetchFromGitHub { 24 owner = pname; 25 repo = "softlayer-python"; 26 rev = "v${version}"; 27 sha256 = "0zwhykrpckx3ln4w6vlgp0nrkkr8343ni1w43hxznm55qmrllrpg"; 28 }; 29 30 propagatedBuildInputs = [ 31 click 32 prompt-toolkit 33 ptable 34 pygments 35 requests 36 urllib3 37 ]; 38 39 checkInputs = [ 40 mock 41 pytestCheckHook 42 sphinx 43 testtools 44 tkinter 45 ]; 46 47 pythonImportsCheck = [ "SoftLayer" ]; 48 49 meta = with lib; { 50 description = "Python libraries that assist in calling the SoftLayer API"; 51 homepage = "https://github.com/softlayer/softlayer-python"; 52 license = licenses.mit; 53 maintainers = with maintainers; [ ]; 54 }; 55}