Files
nixpkgs/pkgs/development/python-modules/python-hpilo/default.nix
T
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

29 lines
657 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "python-hpilo";
version = "4.4.3";
format = "setuptools";
src = fetchFromGitHub {
owner = "seveas";
repo = pname;
rev = version;
sha256 = "1dk5xswydw7nmn9hlna1xca1mzcas9qv2kmid5yx8kvk3hjqci9v";
};
# Most tests requires an actual iLO to run
doCheck = false;
pythonImportsCheck = [ "hpilo" ];
meta = with lib; {
description = "Python module to access the HP iLO XML interface";
homepage = "https://seveas.github.io/python-hpilo/";
license = with licenses; [ asl20 gpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}