yubikey-personalization-gui: Add derivation

This commit is contained in:
William A. Kennington III 2014-10-24 16:37:22 -07:00
parent 2910183d5e
commit ce590c3fc7
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ stdenv, fetchurl, pkgconfig, yubikey-personalization, qt, libyubikey }:
stdenv.mkDerivation rec {
name = "yubikey-personalization-gui-3.1.16";
src = fetchurl {
url = "https://developers.yubico.com/yubikey-personalization-gui/Releases/${name}.tar.gz";
sha256 = "0sdiy2jn0anjvhnz47mrkblhh3paf0gmbgdmrkm21kws4f6sb4kh";
};
buildInputs = [ pkgconfig yubikey-personalization qt libyubikey ];
configurePhase = ''
qmake
'';
installPhase = ''
mkdir -p $out/bin
cp build/release/yubikey-personalization-gui $out/bin
'';
meta = with stdenv.lib; {
homepage = https://developers.yubico.com/yubikey-personalization-gui;
description = "a QT based cross-platform utility designed to facilitate reconfiguration of the Yubikey";
license = licenses.bsd2;
platforms = platforms.unix;
maintainers = with maintainers; [ wkennington ];
};
}

View File

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