python3Packages.pyoppleio: init at 1.0.6

This commit is contained in:
Fabian Affolter 2022-04-25 22:19:20 +02:00
parent d123039b2e
commit 766646b0f2
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, crc16
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyoppleio";
version = "1.0.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-q//uJ+2m9S0r+Jsa5Eye90YSw4cKzd04vPHMm89j8kg=";
};
propagatedBuildInputs = [
crc16
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"pyoppleio"
];
meta = with lib; {
description = "Library for interacting with OPPLE lights";
homepage = "https://github.com/jedmeng/python-oppleio";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -7497,6 +7497,8 @@ in {
pyopnsense = callPackage ../development/python-modules/pyopnsense { };
pyoppleio = callPackage ../development/python-modules/pyoppleio { };
pyosf = callPackage ../development/python-modules/pyosf { };
pyosmium = callPackage ../development/python-modules/pyosmium {