nixpkgs/pkgs/development/libraries/libykneomgr/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
726 B
Nix
Raw Normal View History

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