liquidctl: init at 1.4.2
This commit is contained in:
parent
f0e774407c
commit
c5e35cc8cf
3 changed files with 41 additions and 0 deletions
37
pkgs/development/python-modules/liquidctl/default.nix
Normal file
37
pkgs/development/python-modules/liquidctl/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, docopt
|
||||
, hidapi
|
||||
, pyusb
|
||||
, smbus-cffi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "liquidctl";
|
||||
version = "1.4.2";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1h5kqpvlx7xppd2wli986lkslqkcrlz1wixv7fvrppzjc2nfz5d4";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
docopt
|
||||
hidapi
|
||||
pyusb
|
||||
smbus-cffi
|
||||
];
|
||||
|
||||
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";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ arturcygan ];
|
||||
};
|
||||
}
|
|
@ -5603,6 +5603,8 @@ in
|
|||
|
||||
linuxquota = callPackage ../tools/misc/linuxquota { };
|
||||
|
||||
liquidctl = with python3Packages; toPythonApplication liquidctl;
|
||||
|
||||
localtime = callPackage ../tools/system/localtime { };
|
||||
|
||||
logcheck = callPackage ../tools/system/logcheck { };
|
||||
|
|
|
@ -3578,6 +3578,8 @@ in {
|
|||
|
||||
linuxfd = callPackage ../development/python-modules/linuxfd { };
|
||||
|
||||
liquidctl = callPackage ../development/python-modules/liquidctl { };
|
||||
|
||||
lirc = disabledIf isPy27 (toPythonModule (pkgs.lirc.override { python3 = python; }));
|
||||
|
||||
littleutils = callPackage ../development/python-modules/littleutils { };
|
||||
|
|
Loading…
Reference in a new issue