Files
nixpkgs/pkgs/development/python-modules/f5-icontrol-rest/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

40 lines
841 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
requests,
six,
}:
buildPythonPackage rec {
pname = "f5-icontrol-rest";
version = "1.3.16";
format = "setuptools";
src = fetchFromGitHub {
owner = "F5Networks";
repo = "f5-icontrol-rest-python";
tag = "v${version}";
sha256 = "sha256-asAFIRoc2zll8a8gMMt4ZRQILhMAes8wf3PGwG5wF9c=";
};
propagatedBuildInputs = [
requests
six
];
# needs to be updated to newer pytest version and requires physical device
doCheck = false;
enabledTestPaths = [ "icontrol/test" ];
pythonImportsCheck = [ "icontrol" ];
meta = {
description = "F5 BIG-IP iControl REST API client";
homepage = "https://github.com/F5Networks/f5-icontrol-rest-python";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ SuperSandro2000 ];
};
}