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