tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
pcsclite: Enable building on Darwin
John Wiegley
10 years ago
95f6a9e1
31e5abf7
+4
-4
1 changed file
expand all
collapse all
unified
split
pkgs
tools
security
pcsclite
default.nix
+4
-4
pkgs/tools/security/pcsclite/default.nix
···
11
11
configureFlags = [
12
12
# The OS should care on preparing the drivers into this location
13
13
"--enable-usbdropdir=/var/lib/pcsc/drivers"
14
14
-
"--with-systemdsystemunitdir=\${out}/etc/systemd/system"
15
14
"--enable-confdir=/etc"
16
16
-
];
15
15
+
] ++ stdenv.lib.optional stdenv.isLinux
16
16
+
"--with-systemdsystemunitdir=\${out}/etc/systemd/system";
17
17
18
18
nativeBuildInputs = [ pkgconfig perl python2 ];
19
19
-
buildInputs = [ udev dbus_libs ];
19
19
+
buildInputs = stdenv.lib.optionals stdenv.isLinux [ udev dbus_libs ];
20
20
21
21
meta = with stdenv.lib; {
22
22
description = "Middleware to access a smart card using SCard API (PC/SC)";
23
23
homepage = http://pcsclite.alioth.debian.org/;
24
24
license = licenses.bsd3;
25
25
maintainers = with maintainers; [ viric wkennington ];
26
26
-
platforms = platforms.linux;
26
26
+
platforms = with platforms; unix;
27
27
};
28
28
}