python3Packages.trezor: make udev rules dependency linux-only

This commit is contained in:
Martin Milata 2020-10-27 13:51:04 +01:00
parent 8a1fdce8d3
commit 922af1cd2d

View file

@ -1,4 +1,5 @@
{ lib
{ stdenv
, lib
, buildPythonPackage
, fetchPypi
, isPy3k
@ -49,6 +50,7 @@ buildPythonPackage rec {
rlp
shamir-mnemonic
typing-extensions
] ++ lib.optionals stdenv.isLinux [
trezor-udev-rules
];