2014-01-25 02:17:06 +00:00
|
|
|
{stdenv, fetchurl, pkgconfig, libusb1, libyubikey}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec
|
|
|
|
{
|
2015-11-25 22:15:10 +00:00
|
|
|
version = "1.17.2";
|
2014-01-25 02:17:06 +00:00
|
|
|
name = "ykpers-${version}";
|
|
|
|
|
|
|
|
src = fetchurl
|
|
|
|
{
|
|
|
|
url = "http://opensource.yubico.com/yubikey-personalization/releases/${name}.tar.gz";
|
2015-11-25 22:15:10 +00:00
|
|
|
sha256 = "1z6ybpdhl74phwzg2lhxhipqf7xnfhg52dykkzb3fbx21m0i4jkh";
|
2014-01-25 02:17:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [pkgconfig libusb1 libyubikey];
|
|
|
|
|
|
|
|
meta =
|
|
|
|
{
|
|
|
|
homepage = "http://opensource.yubico.com/yubikey-personalization/";
|
2014-01-29 17:05:05 +00:00
|
|
|
description = "YubiKey Personalization cross-platform library and tool";
|
|
|
|
license = "bsd";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.calrama ];
|
2014-01-25 02:17:06 +00:00
|
|
|
};
|
|
|
|
}
|