Files
nixpkgs/pkgs/development/python-modules/python-hpilo/default.nix
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

39 lines
839 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "python-hpilo";
version = "4.4.3";
pyproject = true;
src = fetchFromGitHub {
owner = "seveas";
repo = "python-hpilo";
tag = version;
hash = "sha256-O0WGJRxzT9R9abFOsXHSiv0aFOtBWQqTrfbw5rnuZbY=";
};
build-system = [ setuptools ];
# Most tests requires an actual iLO to run
doCheck = false;
pythonImportsCheck = [ "hpilo" ];
meta = {
description = "Python module to access the HP iLO XML interface";
homepage = "https://seveas.github.io/python-hpilo/";
changelog = "https://github.com/seveas/python-hpilo/blob/${version}/CHANGES";
license = with lib.licenses; [
asl20
gpl3Plus
];
maintainers = with lib.maintainers; [ fab ];
mainProgram = "hpilo_cli";
};
}