3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/yubikey-personalization-gui/default.nix
Ryan Mulligan 5b9acb2012 yubikey-personalization-gui: 3.1.24 -> 3.1.25
Semi-automatic update. These checks were performed:

- built on NixOS
- found 3.1.25 with grep in /nix/store/zf6w45davybf2ajmcsd9p9gbhja441n3-yubikey-personalization-gui-3.1.25
- found 3.1.25 in filename of file in /nix/store/zf6w45davybf2ajmcsd9p9gbhja441n3-yubikey-personalization-gui-3.1.25

cc "@wkennington"
2018-02-27 19:22:50 -08:00

27 lines
901 B
Nix

{ stdenv, fetchurl, pkgconfig, yubikey-personalization, qt4, qmake4Hook, libyubikey }:
stdenv.mkDerivation rec {
name = "yubikey-personalization-gui-3.1.25";
src = fetchurl {
url = "https://developers.yubico.com/yubikey-personalization-gui/Releases/${name}.tar.gz";
sha256 = "1knyv5yss8lhzaff6jpfqv12fjf1b8b21mfxzx3qi0hw4nl8n2v8";
};
nativeBuildInputs = [ pkgconfig qmake4Hook ];
buildInputs = [ yubikey-personalization qt4 libyubikey ];
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 ];
};
}