1 { lib, stdenv, fetchurl, pcsclite, pkg-config, libusb1, perl }:
3 stdenv.mkDerivation rec {
8 url = "https://ccid.apdu.fr/files/${pname}-${version}.tar.bz2";
9 sha256 = "sha256-gVSbNCJGnVA5ltA6Ou0u8TdbNZFn8Q1mvp44ROcpMi4=";
14 substituteInPlace src/Makefile.in --replace /bin/echo echo
18 configureFlagsArray+=("--enable-usbdropdir=$out/pcsc/drivers")
21 nativeBuildInputs = [ pkg-config perl ];
22 buildInputs = [ pcsclite libusb1 ];
25 description = "ccid drivers for pcsclite";
26 homepage = "https://ccid.apdu.fr/";
27 license = licenses.gpl2Plus;
28 platforms = platforms.unix;