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

stdenv.mkDerivation rec
{
  version = "1.12";
  name = "libyubikey-${version}";

  src = fetchurl
  {
    url = "http://opensource.yubico.com/yubico-c/releases/${name}.tar.gz";
    sha256 = "1f0plzmr1gwry4rfgq9q70v6qwqny009hac289ad5m6sj7vqflxr";
  };

  meta =
  {
    homepage = "http://opensource.yubico.com/yubico-c/";
    description = "C library for manipulating Yubico YubiKey One-Time Passwords (OTPs)";
    license = "bsd";
    maintainers = [ stdenv.lib.maintainers.calrama ];
  };
}