1{ stdenv, fetchurl, pkgconfig, pcsclite, libzip, help2man }:
2
3stdenv.mkDerivation rec {
4 name = "libykneomgr-0.1.8";
5
6 src = fetchurl {
7 url = "https://developers.yubico.com/libykneomgr/Releases/${name}.tar.gz";
8 sha256 = "12gqblz400kr11m1fdr1vvwr85lgy5v55zy0cf782whpk8lyyj97";
9 };
10
11 nativeBuildInputs = [ pkgconfig ];
12 buildInputs = [ pcsclite libzip help2man ];
13
14 configureFlags = [
15 "--with-backend=pcsc"
16 ];
17
18 meta = with stdenv.lib; {
19 homepage = https://developers.yubico.com/libykneomgr;
20 description = "A C library to interact with the CCID-part of the Yubikey NEO";
21 license = licenses.bsd3;
22 platforms = platforms.unix;
23 maintainers = with maintainers; [ wkennington ];
24 };
25}