mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
libu2f-host: Add derivation
This commit is contained in:
parent
7b6e70c72d
commit
0f7527bea3
2 changed files with 22 additions and 0 deletions
20
pkgs/development/libraries/libu2f-host/default.nix
Normal file
20
pkgs/development/libraries/libu2f-host/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ stdenv, fetchurl, pkgconfig, json_c, hidapi }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libu2f-host-0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://developers.yubico.com/libu2f-host/Releases/${name}.tar.xz";
|
||||
sha256 = "02pjald2j6syvxm5pszxcpqhpp7c80hblnzh6wrafkmpkpzi3rq5";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig 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 ];
|
||||
};
|
||||
}
|
|
@ -5985,6 +5985,8 @@ let
|
|||
|
||||
libgeotiff = callPackage ../development/libraries/libgeotiff { };
|
||||
|
||||
libu2f-host = callPackage ../development/libraries/libu2f-host { };
|
||||
|
||||
libunistring = callPackage ../development/libraries/libunistring { };
|
||||
|
||||
libupnp = callPackage ../development/libraries/pupnp { };
|
||||
|
|
Loading…
Reference in a new issue