Files
nixpkgs/pkgs/development/python-modules/f5-sdk/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

36 lines
703 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
f5-icontrol-rest,
six,
}:
buildPythonPackage rec {
pname = "f5-sdk";
version = "3.0.21";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-IokMj9mCMsFMVFYO4CpZUB2i32cOamhS5u2mNkNjljo=";
};
propagatedBuildInputs = [
f5-icontrol-rest
six
];
# needs to be updated to newer pytest version and requires physical device
doCheck = false;
pythonImportsCheck = [ "f5" ];
meta = {
description = "F5 Networks Python SDK";
homepage = "https://github.com/F5Networks/f5-common-python";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ SuperSandro2000 ];
};
}