83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
41 lines
732 B
Nix
41 lines
732 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, future
|
|
, mock
|
|
, nose
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-ipmi";
|
|
version = "0.5.4";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kontron";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-IXEq3d1nXGEndciQw2MJ1Abc0vmEYez+k6aWGSWEzWA=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
future
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
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 ];
|
|
};
|
|
}
|