nixpkgs/pkgs/development/libraries/libu2f-host/default.nix
Florian Klink 89c3e73dad hardware/u2f: remove module
udev gained native support to handle FIDO security tokens, so we don't
need a module which only added the now obsolete udev rules.

Fixes: https://github.com/NixOS/nixpkgs/issues/76482
2020-06-14 15:13:31 +02:00

24 lines
684 B
Nix

{ stdenv, fetchurl, pkgconfig, json_c, hidapi }:
stdenv.mkDerivation rec {
pname = "libu2f-host";
version = "1.1.10";
src = fetchurl {
url = "https://developers.yubico.com/${pname}/Releases/${pname}-${version}.tar.xz";
sha256 = "0vrivl1dwql6nfi48z6dy56fwy2z13d7abgahgrs2mcmqng7hra2";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ json_c hidapi ];
doCheck = true;
meta = with stdenv.lib; {
homepage = "https://developers.yubico.com/libu2f-host";
description = "A C library and command-line tool that implements the host-side of the U2F protocol";
license = with licenses; [ gpl3Plus lgpl21Plus ];
platforms = platforms.unix;
};
}