mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
31 lines
915 B
Nix
31 lines
915 B
Nix
{ stdenv, fetchurl, pkgconfig, yubikey-personalization, qt, libyubikey }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "yubikey-personalization-gui-3.1.24";
|
|
|
|
src = fetchurl {
|
|
url = "https://developers.yubico.com/yubikey-personalization-gui/Releases/${name}.tar.gz";
|
|
sha256 = "0aj8cvajswkwzig0py0mjnfw0m8xsilisdcnixpjx9xxsxz5yacq";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ 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 ];
|
|
};
|
|
}
|