summary refs log tree commit diff
path: root/pkgs/development/libraries/libyubikey/default.nix
blob: 010eecb0fa97733486ebe80a5e4af36eef48077d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
  name = "libyubikey-1.13";

  src = fetchurl {
    url = "https://developers.yubico.com/yubico-c/Releases/${name}.tar.gz";
    sha256 = "009l3k2zyn06dbrlja2d4p2vfnzjhlcqxi88v02mlrnb17mx1v84";
  };

  meta = with stdenv.lib; {
    homepage = http://opensource.yubico.com/yubico-c/;
    description = "C library for manipulating Yubico YubiKey One-Time Passwords (OTPs)";
    license = licenses.bsd2;
    platforms = platforms.unix;
  };
}