at v206 28 lines 901 B view raw
1{ stdenv, fetchurl, pkgconfig, udev, dbus_libs, perl }: 2 3stdenv.mkDerivation rec { 4 name = "pcsclite-1.8.14"; 5 6 src = fetchurl { 7 url = "https://alioth.debian.org/frs/download.php/file/4138/pcsc-lite-1.8.14.tar.bz2"; 8 sha256 = "0kik09dif6hih09vvprd7zvj31lnrclrbrh5y10mlca2c209f7xr"; 9 }; 10 11 configureFlags = [ 12 # The OS should care on preparing the drivers into this location 13 "--enable-usbdropdir=/var/lib/pcsc/drivers" 14 "--with-systemdsystemunitdir=\${out}/etc/systemd/system" 15 "--enable-confdir=/etc" 16 ]; 17 18 nativeBuildInputs = [ pkgconfig perl ]; 19 buildInputs = [ udev dbus_libs ]; 20 21 meta = with stdenv.lib; { 22 description = "Middleware to access a smart card using SCard API (PC/SC)"; 23 homepage = http://pcsclite.alioth.debian.org/; 24 license = licenses.bsd3; 25 maintainers = with maintainers; [ viric wkennington ]; 26 platforms = with platforms; linux; 27 }; 28}