2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, pcsclite, libzip, help2man }:
|
2014-10-25 00:36:03 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-11-06 17:31:57 +00:00
|
|
|
name = "libykneomgr-0.1.8";
|
2014-10-25 00:36:03 +01: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-25 00:36:03 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-09-18 03:22:43 +01:00
|
|
|
buildInputs = [ pcsclite libzip help2man ];
|
2014-10-25 00:36:03 +01:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-backend=pcsc"
|
|
|
|
];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://developers.yubico.com/libykneomgr";
|
2016-06-20 11:53:46 +01:00
|
|
|
description = "A C library to interact with the CCID-part of the Yubikey NEO";
|
2014-10-25 00:36:03 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|