2016-04-17 01:53:07 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, yubikey-personalization, qt4, qmake4Hook, libyubikey }:
|
2014-10-25 01:37:22 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-28 04:22:50 +01:00
|
|
|
name = "yubikey-personalization-gui-3.1.25";
|
2014-10-25 01:37:22 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://developers.yubico.com/yubikey-personalization-gui/Releases/${name}.tar.gz";
|
2018-02-28 04:22:50 +01:00
|
|
|
sha256 = "1knyv5yss8lhzaff6jpfqv12fjf1b8b21mfxzx3qi0hw4nl8n2v8";
|
2014-10-25 01:37:22 +02:00
|
|
|
};
|
|
|
|
|
2016-04-17 01:53:07 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig qmake4Hook ];
|
|
|
|
buildInputs = [ yubikey-personalization qt4 libyubikey ];
|
2014-10-25 01:37:22 +02:00
|
|
|
|
|
|
|
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;
|
2016-06-20 12:53:46 +02:00
|
|
|
description = "A QT based cross-platform utility designed to facilitate reconfiguration of the Yubikey";
|
2014-10-25 01:37:22 +02:00
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
|
|
|
};
|
|
|
|
}
|