python310Packages.w1thermsensor: add optional-dependencies
This commit is contained in:
@@ -35,10 +35,15 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiofiles
|
||||
click
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
async = [
|
||||
aiofiles
|
||||
];
|
||||
};
|
||||
|
||||
# Don't try to load the kernel module in tests.
|
||||
env.W1THERMSENSOR_NO_KERNEL_MODULE = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user