python3Packages.python-ipmi: init at 0.5.1

This commit is contained in:
Fabian Affolter 2021-06-28 23:24:18 +02:00 committed by Jonathan Ringer
parent 3987b0e481
commit e7ba38072e
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, future
, mock
, nose
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "python-ipmi";
version = "0.5.1";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "kontron";
repo = pname;
rev = version;
sha256 = "0rcix3q845zsmfj5857kq1r5b8m7m3sad34i23k65m0p58clwdqm";
};
propagatedBuildInputs = [
future
];
checkInputs = [
mock
nose
pytestCheckHook
];
pythonImportsCheck = [ "pyipmi" ];
meta = with lib; {
description = "Python IPMI Library";
homepage = "https://github.com/kontron/python-ipmi";
license = with licenses; [ lgpl2Plus ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -5363,6 +5363,8 @@ in {
python-ecobee-api = callPackage ../development/python-modules/python-ecobee-api { };
python-ipmi = callPackage ../development/python-modules/python-ipmi { };
python-izone = callPackage ../development/python-modules/python-izone { };
python-juicenet = callPackage ../development/python-modules/python-juicenet { };