1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "python-hpilo"; 10 version = "4.4.3"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "seveas"; 15 repo = "python-hpilo"; 16 tag = version; 17 hash = "sha256-O0WGJRxzT9R9abFOsXHSiv0aFOtBWQqTrfbw5rnuZbY="; 18 }; 19 20 build-system = [ setuptools ]; 21 22 # Most tests requires an actual iLO to run 23 doCheck = false; 24 25 pythonImportsCheck = [ "hpilo" ]; 26 27 meta = with lib; { 28 description = "Python module to access the HP iLO XML interface"; 29 homepage = "https://seveas.github.io/python-hpilo/"; 30 changelog = "https://github.com/seveas/python-hpilo/blob/${version}/CHANGES"; 31 license = with licenses; [ 32 asl20 33 gpl3Plus 34 ]; 35 maintainers = with maintainers; [ fab ]; 36 mainProgram = "hpilo_cli"; 37 }; 38}