depot/third_party/nixpkgs/pkgs/development/python-modules/python-ipmi/default.nix
Default email 6d4aeb4377 Project import generated by Copybara.
GitOrigin-RevId: 0f213d0fee84280d8c3a97f7469b988d6fe5fcdf
2023-01-11 08:51:40 +01:00

41 lines
728 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, future
, mock
, nose
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "python-ipmi";
version = "0.5.3";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "kontron";
repo = pname;
rev = version;
sha256 = "sha256-Y8HJ7MXYHJRUWPTcw8p+GGSFswuRI7u+/bIaJpKy7lY=";
};
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 ];
};
}