1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-19 07:59:24 +03:00
nixpkgs/pkgs/development/python-modules/softlayer/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

56 lines
945 B
Nix
Raw Normal View History

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