yubikey-personalization: Add derivation

This commit is contained in:
William A. Kennington III 2014-10-24 16:36:51 -07:00
parent 1eded784d0
commit 2910183d5e
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, fetchurl, pkgconfig, libusb, libyubikey, json_c }:
stdenv.mkDerivation rec {
name = "yubikey-personalization-${version}";
version = "1.16.0";
src = fetchurl {
url = "https://developers.yubico.com/yubikey-personalization/Releases/ykpers-${version}.tar.gz";
sha256 = "1zspbb10k9x9mjv8hadmwwgzjlign372al3zshypj9ri55ky0xs3";
};
buildInputs = [ pkgconfig libusb libyubikey json_c ];
configureFlags = [
"--with-backend=libusb-1.0"
];
meta = with stdenv.lib; {
homepage = https://developers.yubico.com/yubikey-personalization;
description = "a library and command line tool to personalize YubiKeys";
license = licenses.bsd2;
platforms = platforms.unix;
maintainers = with maintainers; [ wkennington ];
};
}

View File

@ -6906,6 +6906,10 @@ let
yajl = callPackage ../development/libraries/yajl { };
yubikey-personalization = callPackage ../tools/misc/yubikey-personalization {
libusb = libusb1;
};
zangband = builderDefsPackage (import ../games/zangband) {
inherit ncurses flex bison autoconf automake m4 coreutils;
};