mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 22:03:13 +00:00
22 lines
665 B
Nix
22 lines
665 B
Nix
{ stdenv, fetchurl, pkgconfig, json_c, hidapi }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libu2f-host-1.0.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://developers.yubico.com/libu2f-host/Releases/${name}.tar.xz";
|
|
sha256 = "0x232rp325k1l3rdh1b9d7w3w2z2lhjmp95v4mlmd8pybjdnpi8q";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ json_c hidapi ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://developers.yubico.com/libu2f-host;
|
|
description = "A C library and command-line tool thati mplements the host-side of the U2F protocol";
|
|
license = licenses.bsd2;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ wkennington ];
|
|
};
|
|
}
|