4e51a466bd
yubico-piv-tool -> 0.1.6 yubikey-personalization -> 1.17.1 yubikey-personalization-gui-3 -> 3.1.20
30 lines
888 B
Nix
30 lines
888 B
Nix
{ stdenv, fetchurl, pkgconfig, yubikey-personalization, qt, libyubikey }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "yubikey-personalization-gui-3.1.20";
|
|
|
|
src = fetchurl {
|
|
url = "https://developers.yubico.com/yubikey-personalization-gui/Releases/${name}.tar.gz";
|
|
sha256 = "157ra39m4rv7ni28q9n7v3n102h89fn43kccvs91fmqbj02i3qvh";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|