Merge pull request #202411 from Mic92/yubioath-desktop

yubioath-desktop: drop as has been replaced by upstream

authored by

Jonas Heinrich and committed by
GitHub
e35699dd 024c337a

+1 -78
-76
pkgs/applications/misc/yubioath-desktop/default.nix
··· 1 - { lib 2 - , stdenv 3 - , fetchurl 4 - , mkDerivation 5 - , qmake 6 - , qtbase 7 - , qtquickcontrols2 8 - , qtgraphicaleffects 9 - , qtmultimedia 10 - , python3 11 - , pyotherside 12 - , pcsclite 13 - , yubikey-personalization 14 - , yubikey-manager 15 - , makeWrapper 16 - }: 17 - 18 - mkDerivation rec { 19 - pname = "yubioath-desktop"; 20 - version = "5.1.0"; 21 - 22 - src = fetchurl { 23 - url = "https://developers.yubico.com/yubioath-desktop/Releases/yubioath-desktop-${version}.tar.gz"; 24 - hash = "sha256-Lm9F4eaG9T5brAV7XDAkoj0WClmXEYIhuUzh2rk0oc0="; 25 - }; 26 - 27 - doCheck = false; 28 - 29 - buildInputs = [ qtbase qtquickcontrols2 qtgraphicaleffects qtmultimedia python3 ]; 30 - 31 - nativeBuildInputs = [ qmake makeWrapper python3.pkgs.wrapPython ]; 32 - 33 - postPatch = '' 34 - substituteInPlace QZXing/QZXing-components.pri \ 35 - --replace 'target.path = $$PREFIX/lib' 'target.path = $$PREFIX/bin' 36 - ''; 37 - 38 - pythonPath = [ yubikey-manager ]; 39 - 40 - # Need LD_PRELOAD for libykpers as the Nix cpython disables ctypes.cdll.LoadLibrary 41 - # support that the yubicommon library uses to load libykpers 42 - 43 - postInstall = '' 44 - buildPythonPath "$out $pythonPath" 45 - wrapProgram $out/bin/yubioath-desktop \ 46 - --prefix PYTHONPATH : "$program_PYTHONPATH" \ 47 - --prefix QML2_IMPORT_PATH : "${pyotherside}/${qtbase.qtQmlPrefix}" \ 48 - --prefix LD_PRELOAD : "${yubikey-personalization}/lib/libykpers-1.so" \ 49 - --prefix LD_LIBRARY_PATH : "${lib.getLib pcsclite}/lib:${yubikey-personalization}/lib" 50 - 51 - mkdir -p $out/share/applications 52 - cp resources/com.yubico.yubioath.desktop \ 53 - $out/share/applications/com.yubico.yubioath.desktop 54 - mkdir -p $out/share/yubioath/icons 55 - cp resources/icons/*.{icns,ico,png,svg} $out/share/yubioath/icons 56 - substituteInPlace $out/share/applications/com.yubico.yubioath.desktop \ 57 - --replace 'Exec=yubioath-desktop' "Exec=$out/bin/yubioath-desktop" \ 58 - --replace 'Icon=com.yubico.yubioath' "Icon=$out/share/yubioath/icons/com.yubico.yubioath.png" 59 - ''; 60 - 61 - meta = with lib; { 62 - description = "Yubico Authenticator"; 63 - longDescription = '' 64 - Application for generating Open Authentication (OATH) time-based TOTP and 65 - event-based HOTP one-time password codes, with the help of a YubiKey that 66 - protects the shared secrets. 67 - ''; 68 - 69 - homepage = "https://developers.yubico.com/yubioath-desktop"; 70 - downloadPage = "https://developers.yubico.com/yubioath-desktop/Releases/"; 71 - changelog = "https://developers.yubico.com/yubioath-desktop/Release_Notes.html"; 72 - 73 - license = lib.licenses.bsd2; 74 - maintainers = with maintainers; [ mic92 risson ]; 75 - }; 76 - }
+1
pkgs/top-level/aliases.nix
··· 1629 1629 youtubeDL = throw "'youtubeDL' has been renamed to/replaced by 'youtube-dl'"; # Converted to throw 2022-02-22 1630 1630 ytop = throw "ytop has been abandoned by upstream. Consider switching to bottom instead"; 1631 1631 yubikey-neo-manager = throw "yubikey-neo-manager has been removed because it was broken. Use yubikey-manager-qt instead"; # Added 2021-03-08 1632 + yubioath-desktop = throw "yubioath-desktop has been deprecated by upstream in favor of https://github.com/Yubico/yubioath-flutter"; # Added 2022-11-22 1632 1633 yuzu-ea = yuzu-early-access; # Added 2022-08-18 1633 1634 yuzu = yuzu-mainline; # Added 2021-01-25 1634 1635
-2
pkgs/top-level/all-packages.nix
··· 23120 23120 23121 23121 yojimbo = callPackage ../development/libraries/yojimbo { }; 23122 23122 23123 - yubioath-desktop = libsForQt5.callPackage ../applications/misc/yubioath-desktop { }; 23124 - 23125 23123 yubico-pam = callPackage ../development/libraries/yubico-pam { }; 23126 23124 23127 23125 yubico-piv-tool = callPackage ../tools/misc/yubico-piv-tool {