about summary refs log tree commit diff
path: root/pkgs/development/python-modules/f5-sdk/default.nix
blob: b73afcec0fab32e395efa787c8348fe3956fb3d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ lib
, buildPythonPackage
, fetchPypi
, f5-icontrol-rest
, six
}:

buildPythonPackage rec {
  pname = "f5-sdk";
  version = "3.0.21";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-IokMj9mCMsFMVFYO4CpZUB2i32cOamhS5u2mNkNjljo=";
  };

  propagatedBuildInputs = [
    f5-icontrol-rest
    six
  ];

  # needs to be updated to newer pytest version and requires physical device
  doCheck = false;

  pythonImportsCheck = [ "f5" ];

  meta = with lib; {
    description = "F5 Networks Python SDK";
    homepage = "https://github.com/F5Networks/f5-common-python";
    license = licenses.asl20;
    maintainers = with maintainers; [ SuperSandro2000 ];
  };
}