1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, requests
5, six
6}:
7
8buildPythonPackage rec {
9 pname = "f5-icontrol-rest";
10 version = "1.3.15";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "F5Networks";
15 repo = "f5-icontrol-rest-python";
16 rev = "v${version}";
17 sha256 = "sha256-ScudlJTQfa0BsEVI+mIndYWF8OcARdxwFwTAOEJxA8w=";
18 };
19
20 propagatedBuildInputs = [
21 requests
22 six
23 ];
24
25 # needs to be updated to newer pytest version and requires physical device
26 doCheck = false;
27
28 pytestFlags = [
29 "icontrol/test"
30 ];
31
32 pythonImportsCheck = [ "icontrol" ];
33
34 meta = with lib; {
35 description = "F5 BIG-IP iControl REST API client";
36 homepage = "https://github.com/F5Networks/f5-icontrol-rest-python";
37 license = licenses.asl20;
38 maintainers = with maintainers; [ SuperSandro2000 ];
39 };
40}