1 { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, pcsclite, libusb-compat-0_1
5 stdenv.mkDerivation rec {
9 src = fetchFromGitHub {
12 rev = "${pname}-${version}";
13 sha256 = "09wxq0jxdxhci3zr7jd3zcxjkl3j0r1v00k3q8gqrg9gighh8nk2";
17 sed -i 's,$(DESTDIR),$(out),g' etc/Makefile.am
24 "--localstatedir=/var"
28 nativeBuildInputs = [ autoreconfHook pkg-config ];
29 buildInputs = [ pcsclite libusb-compat-0_1 doxygen libxslt ];
36 broken = stdenv.isDarwin;
37 homepage = "https://github.com/OpenSC/openct/";
38 license = licenses.lgpl21;
39 description = "Drivers for several smart card readers";
40 platforms = platforms.all;