Merge pull request #293989 from fabaff/python-ipmi-bump

python311Packages.python-ipmi: 0.5.4 -> 0.5.5
This commit is contained in:
Fabian Affolter 2024-03-07 13:03:42 +01:00 committed by GitHub
commit 764d8a0ba5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,37 +3,40 @@
, fetchFromGitHub
, future
, mock
, nose
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "python-ipmi";
version = "0.5.4";
format = "setuptools";
version = "0.5.5";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "kontron";
repo = pname;
repo = "python-ipmi";
rev = "refs/tags/${version}";
hash = "sha256-IXEq3d1nXGEndciQw2MJ1Abc0vmEYez+k6aWGSWEzWA=";
hash = "sha256-G5FcFHtyN8bXMjj/yfJgzcfmV1mxQ9lu3GM3XMeTWVU=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "version=version," "version='${version}',"
--replace-fail "version=version," "version='${version}',"
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
future
];
nativeCheckInputs = [
mock
nose
pytestCheckHook
];