python310Packages.w1thermsensor: add optional-dependencies
This commit is contained in:
parent
9e7b0190b6
commit
26be63b1eb
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue