From 59b1aef59071cae6e87859dc65de973d2cc595c0 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 22 May 2024 16:01:06 +0200 Subject: python3Packages: format with nixfmt --- .../python-modules/btchip-python/default.nix | 23 ++++++++++------------ 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'pkgs/development/python-modules/btchip-python') diff --git a/pkgs/development/python-modules/btchip-python/default.nix b/pkgs/development/python-modules/btchip-python/default.nix index 901a3b2cc9545..66c22bafac3ed 100644 --- a/pkgs/development/python-modules/btchip-python/default.nix +++ b/pkgs/development/python-modules/btchip-python/default.nix @@ -1,10 +1,11 @@ -{ lib -, buildPythonPackage -, fetchPypi -, hidapi -, pyscard -, ecdsa - }: +{ + lib, + buildPythonPackage, + fetchPypi, + hidapi, + pyscard, + ecdsa, +}: buildPythonPackage rec { pname = "btchip-python"; @@ -27,16 +28,12 @@ buildPythonPackage rec { ecdsa ]; - passthru.optional-dependencies.smartcard = [ - pyscard - ]; + passthru.optional-dependencies.smartcard = [ pyscard ]; # tests requires hardware doCheck = false; - pythonImportsCheck = [ - "btchip.btchip" - ]; + pythonImportsCheck = [ "btchip.btchip" ]; meta = with lib; { description = "Python communication library for Ledger Hardware Wallet products"; -- cgit 1.4.1