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