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

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

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

  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;
    maintainers = with maintainers; [ calrama wkennington ];
    platforms = platforms.unix;
  };
}