Merge pull request #209975 from r-ryantm/auto-update/python310Packages.liquidctl
python310Packages.liquidctl: 1.11.1 -> 1.12.0
This commit is contained in:
commit
052ebf6c79
1 changed files with 15 additions and 7 deletions
|
@ -17,15 +17,16 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "liquidctl";
|
||||
version = "1.11.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
version = "1.12.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-9g6h8GMOcICiry9M9b/Tt0ONsTxuJI/duprUkxB1Gr0=";
|
||||
hash = "sha256-5apn+8X7si8jniHSjt7sveqIuzeuI4uXllR627aT2vI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -48,7 +49,10 @@ buildPythonPackage rec {
|
|||
smbus-cffi
|
||||
];
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
outputs = [
|
||||
"out"
|
||||
"man"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
installManPage liquidctl.8
|
||||
|
@ -58,19 +62,23 @@ buildPythonPackage rec {
|
|||
cp extra/linux/71-liquidctl.rules $out/lib/udev/rules.d/.
|
||||
'';
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postBuild = ''
|
||||
# needed for pythonImportsCheck
|
||||
export XDG_RUNTIME_DIR=$TMPDIR
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "liquidctl" ];
|
||||
pythonImportsCheck = [
|
||||
"liquidctl"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cross-platform CLI and Python drivers for AIO liquid coolers and other devices";
|
||||
homepage = "https://github.com/liquidctl/liquidctl";
|
||||
changelog = "https://github.com/liquidctl/liquidctl/blob/master/CHANGELOG.md";
|
||||
changelog = "https://github.com/liquidctl/liquidctl/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ arturcygan evils ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue