pcsclite: format, remove ? null from inputs
This commit is contained in:
parent
b5c2e3ffcc
commit
51bf96259e
1 changed files with 8 additions and 7 deletions
|
@ -1,5 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, udev, dbus, perl, python3
|
||||
, IOKit ? null }:
|
||||
{ lib, stdenv, fetchurl, pkg-config, udev, dbus, perl, python3, IOKit }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pcsclite";
|
||||
|
@ -35,7 +34,9 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
nativeBuildInputs = [ pkg-config perl ];
|
||||
buildInputs = [ python3 ] ++ lib.optionals stdenv.isLinux [ udev dbus ]
|
||||
|
||||
buildInputs = [ python3 ]
|
||||
++ lib.optionals stdenv.isLinux [ udev dbus ]
|
||||
++ lib.optionals stdenv.isDarwin [ IOKit ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue