2023-08-04 22:07:22 +00:00
|
|
|
{ lib
|
|
|
|
, fetchPypi
|
|
|
|
, python3Packages
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "acpic";
|
|
|
|
version = "1.0.0";
|
2024-01-13 08:15:51 +00:00
|
|
|
pyproject = true;
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version pname;
|
|
|
|
hash = "sha256-vQ9VxCNbOmqHIY3e1wq1wNJl5ywfU2tm62gDg3vKvcg=";
|
|
|
|
};
|
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace setup.py \
|
|
|
|
--replace "pbr>=5.8.1,<6" "pbr"
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = with python3Packages; [
|
|
|
|
pbr
|
|
|
|
setuptools
|
2023-08-04 22:07:22 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Daemon extending acpid event handling capabilities";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "acpic";
|
2023-08-04 22:07:22 +00:00
|
|
|
homepage = "https://github.com/psliwka/acpic";
|
|
|
|
license = licenses.wtfpl;
|
|
|
|
maintainers = with maintainers; [ aacebedo ];
|
|
|
|
};
|
|
|
|
}
|