mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
Merge pull request #237567 from SuperSandro2000/python-f5-sdk
python310.pkgs.f5-sdk: init at 3.0.21
This commit is contained in:
commit
96e46251e3
40
pkgs/development/python-modules/f5-icontrol-rest/default.nix
Normal file
40
pkgs/development/python-modules/f5-icontrol-rest/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, requests
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "f5-icontrol-rest";
|
||||
version = "1.3.15";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "F5Networks";
|
||||
repo = "f5-icontrol-rest-python";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-ScudlJTQfa0BsEVI+mIndYWF8OcARdxwFwTAOEJxA8w=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
six
|
||||
];
|
||||
|
||||
# needs to be updated to newer pytest version and requires physical device
|
||||
doCheck = false;
|
||||
|
||||
pytestFlags = [
|
||||
"icontrol/test"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "icontrol" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "F5 BIG-IP iControl REST API client";
|
||||
homepage = "https://github.com/F5Networks/f5-icontrol-rest-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
34
pkgs/development/python-modules/f5-sdk/default.nix
Normal file
34
pkgs/development/python-modules/f5-sdk/default.nix
Normal file
@ -0,0 +1,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 ];
|
||||
};
|
||||
}
|
@ -3443,6 +3443,10 @@ self: super: with self; {
|
||||
|
||||
ezyrb = callPackage ../development/python-modules/ezyrb { };
|
||||
|
||||
f5-icontrol-rest = callPackage ../development/python-modules/f5-icontrol-rest { };
|
||||
|
||||
f5-sdk = callPackage ../development/python-modules/f5-sdk { };
|
||||
|
||||
f90nml = callPackage ../development/python-modules/f90nml { };
|
||||
|
||||
fabric = callPackage ../development/python-modules/fabric { };
|
||||
|
Loading…
Reference in New Issue
Block a user