Unbork journals audit logs and introduce audit option (#379629)
[NixPkgs.git] / pkgs / by-name / li / libykneomgr / package.nix
blob06d8a8e87e13b4a5ca9d4cea9feb106635e47906
2   lib,
3   stdenv,
4   fetchurl,
5   pkg-config,
6   pcsclite,
7   libzip,
8   help2man,
9 }:
11 stdenv.mkDerivation rec {
12   pname = "libykneomgr";
13   version = "0.1.8";
15   src = fetchurl {
16     url = "https://developers.yubico.com/libykneomgr/Releases/${pname}-${version}.tar.gz";
17     sha256 = "12gqblz400kr11m1fdr1vvwr85lgy5v55zy0cf782whpk8lyyj97";
18   };
20   nativeBuildInputs = [ pkg-config ];
21   buildInputs = [
22     pcsclite
23     libzip
24     help2man
25   ];
27   configureFlags = [
28     "--with-backend=pcsc"
29   ];
31   meta = with lib; {
32     description = "C library to interact with the CCID-part of the Yubikey NEO";
33     homepage = "https://developers.yubico.com/libykneomgr";
34     license = licenses.bsd3;
35     mainProgram = "ykneomgr";
36     platforms = platforms.unix;
37   };