mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
b5c1deca8a
He prefers to contribute to his own nixpkgs fork triton. Since he is still marked as maintainer in many packages this leaves the wrong impression he still maintains those.
26 lines
842 B
Nix
26 lines
842 B
Nix
{ stdenv, fetchurl, pkgconfig, yubikey-personalization, qtbase, qmake, 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 qmake ];
|
|
buildInputs = [ yubikey-personalization qtbase 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;
|
|
};
|
|
}
|