Unverified Commit 2025f72a authored by codgician's avatar codgician Committed by GitHub
Browse files

python3Packages.pyghmi: init at 1.5.77 (#383866)

parent 676f1c9b
Loading
Loading
Loading
Loading
+58 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  wheel,
  cryptography,
  python-dateutil,
  six,
  pbr,
  coverage,
  oslotest,
  stestr,
}:

buildPythonPackage rec {
  pname = "pyghmi";
  version = "1.5.76";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-nJEL9x/+fZT/vpAKL5qVLXYVPcMvUXT9WSEvHzOrGZU=";
  };

  build-system = [
    pbr
    setuptools
  ];

  nativeCheckInputs = [
    coverage
    oslotest
    stestr
  ];

  dependencies = [
    cryptography
    python-dateutil
    six
    pbr
  ];

  pythonImportsCheck = [ "pyghmi" ];

  checkPhase = ''
    runHook preCheck
    stestr run
    runHook postCheck
  '';

  meta = {
    description = "Pure Python (mostly IPMI) server management library";
    homepage = "https://opendev.org/x/pyghmi/";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ codgician ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -12235,6 +12235,8 @@ self: super: with self; {
  pygetwindow = callPackage ../development/python-modules/pygetwindow { };
  pyghmi = callPackage ../development/python-modules/pyghmi { };
  pygit2 = callPackage ../development/python-modules/pygit2 { };
  pygitguardian = callPackage ../development/python-modules/pygitguardian { };