about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/python-hpilo/default.nix
blob: 8ee2dafc47b2330a85a3246a5cc684ce27a19ee7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ 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 ];
  };
}