diff options
author | Pavol Rusnak <pavol@rusnak.io> | 2021-01-03 00:09:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-03 00:09:11 +0100 |
commit | f224edb877360161f3fcfd8c5934bbee36225991 (patch) | |
tree | 5d3dd4dc3babe89a78324b62a6b5aa4d226846af /pkgs/development | |
parent | 92a391c20be629054d89e9031269542a874adf36 (diff) | |
parent | c5e35cc8cf0bbc5c2ceae2b80e27b9e6f6f6c0bd (diff) |
Merge pull request #108258 from arcz/liquidctl
liquidctl: init at 1.4.2
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/liquidctl/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/liquidctl/default.nix b/pkgs/development/python-modules/liquidctl/default.nix new file mode 100644 index 0000000000000..888f09dba95b4 --- /dev/null +++ b/pkgs/development/python-modules/liquidctl/default.nix @@ -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 ]; + }; +} |