depot/third_party/nixpkgs/pkgs/development/python-modules/softlayer/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

55 lines
945 B
Nix

{ lib
, buildPythonPackage
, click
, fetchFromGitHub
, mock
, prompt-toolkit
, ptable
, pygments
, pytestCheckHook
, pythonOlder
, requests
, sphinx
, testtools
, tkinter
, urllib3
}:
buildPythonPackage rec {
pname = "softlayer";
version = "5.9.9";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = pname;
repo = "softlayer-python";
rev = "v${version}";
sha256 = "sha256-LskPz5KXOi7olb3+DUP9uEFESQeo6ec/ZLx9B/w6Ni0=";
};
propagatedBuildInputs = [
click
prompt-toolkit
ptable
pygments
requests
urllib3
];
checkInputs = [
mock
pytestCheckHook
sphinx
testtools
tkinter
];
pythonImportsCheck = [ "SoftLayer" ];
meta = with lib; {
description = "Python libraries that assist in calling the SoftLayer API";
homepage = "https://github.com/softlayer/softlayer-python";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}