2014-10-24 23:36:03 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, pcsclite, libzip, help2man }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-11-06 17:31:57 +00:00
|
|
|
name = "libykneomgr-0.1.8";
|
2014-10-24 23:36:03 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://developers.yubico.com/libykneomgr/Releases/${name}.tar.gz";
|
2015-11-06 17:31:57 +00:00
|
|
|
sha256 = "12gqblz400kr11m1fdr1vvwr85lgy5v55zy0cf782whpk8lyyj97";
|
2014-10-24 23:36:03 +00:00
|
|
|
};
|
|
|
|
|
2015-09-18 02:22:43 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ pcsclite libzip help2man ];
|
2014-10-24 23:36:03 +00:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-backend=pcsc"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://developers.yubico.com/libykneomgr;
|
2016-06-20 10:53:46 +00:00
|
|
|
description = "A C library to interact with the CCID-part of the Yubikey NEO";
|
2014-10-24 23:36:03 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
|
|
|
};
|
|
|
|
}
|