2014-01-25 02:13:34 +00:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec
|
|
|
|
{
|
2014-10-07 21:57:38 +01:00
|
|
|
version = "1.12";
|
2014-01-25 02:13:34 +00:00
|
|
|
name = "libyubikey-${version}";
|
|
|
|
|
|
|
|
src = fetchurl
|
|
|
|
{
|
|
|
|
url = "http://opensource.yubico.com/yubico-c/releases/${name}.tar.gz";
|
2014-10-07 21:57:38 +01:00
|
|
|
sha256 = "1f0plzmr1gwry4rfgq9q70v6qwqny009hac289ad5m6sj7vqflxr";
|
2014-01-25 02:13:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta =
|
|
|
|
{
|
|
|
|
homepage = "http://opensource.yubico.com/yubico-c/";
|
2014-01-29 17:05:05 +00:00
|
|
|
description = "C library for manipulating Yubico YubiKey One-Time Passwords (OTPs)";
|
|
|
|
license = "bsd";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.calrama ];
|
2014-01-25 02:13:34 +00:00
|
|
|
};
|
|
|
|
}
|